Required Instance Methodswift-nio 2.72.0NIOCore
fireChannelInactive
Called once a Channel
becomes inactive.
func fireChannelInactive()
What inactive means depends on the Channel
implementation and semantics. For example for TCP it means the Channel
was disconnected from the remote peer and closed.
Other requirements
Instance members
func fireChannelActive(
) Called once a
Channel
becomes active.func fireChannelRead(NIOAny
) Called once there is some data read for a
Channel
that needs processing.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
.