Method
channelInactive(context:)
Called when the Channel has become inactive and is no longer able to send and receive data.
func channelInactive(context: ChannelHandlerContext)
Parameters
context-
The
ChannelHandlerContextwhich thisChannelHandlerbelongs to.
Discussion
This should call context.fireChannelInactive to forward the operation to the next _ChannelInboundHandler in the ChannelPipeline if you want to allow the next handler to also handle the event.