Required Instance Methodswift-nio 2.72.0NIOCore
fireChannelRead(_:)
Called once there is some data read for a Channel
that needs processing.
func fireChannelRead(_ data: NIOAny)
Parameters
- data
the data that was read and is ready to be processed.
Other requirements
Instance members
func fireChannelActive(
) Called once a
Channel
becomes active.func fireChannelInactive(
) Called once a
Channel
becomes inactive.func fireChannelReadComplete(
) Called once there is no more data to read immediately on a
Channel
. Any new data received will be handled later.func fireChannelRegistered(
) Called once a
Channel
was registered to itsEventLoop
and so IO will be processed.func fireChannelUnregistered(
) Called once a
Channel
was unregistered from itsEventLoop
which means no IO will be handled for aChannel
anymore.func fireChannelWritabilityChanged(
) Called when a
Channel
’s writable state changes.func fireErrorCaught(Error
) Called when an inbound operation
Error
was caught.func fireUserInboundEventTriggered(Any
) Trigger a custom user inbound event which will flow through the
ChannelPipeline
.