Documentation Language: Swift

Class

GlueHandler

final class GlueHandler

Topics

Instance Methods

F
channelInactive(context:)

Called when the Channel has become inactive and is no longer able to send and receive data.

F
channelRead(context:data:)

Called when some data has been read from the remote peer.

F
channelReadComplete(context:)

Called when the Channel has completed its current read loop, either because no more data is available to read from the transport at this time, or because the Channel needs to yield to the event loop to process other I/O events for other Channels. If ChannelOptions.autoRead is false no further read attempt will be made until ChannelHandlerContext.read or Channel.read is explicitly called.

F
channelWritabilityChanged(context:)

The writability state of the Channel has changed, either because it has buffered more data than the writability high water mark, or because the amount of buffered data has dropped below the writability low water mark. You can check the state with Channel.isWritable.

F
errorCaught(context:error:)

An error was encountered earlier in the inbound ChannelPipeline.

F
read(context:)

Called to request that the Channel perform a read when data is ready. The read operation will signal that we are ready to read more data.

F
userInboundEventTriggered(context:event:)

Called when a user inbound event has been triggered.

Type Aliases

T
GlueHandler.OutboundOut

The type of the outbound data which will be forwarded to the next ChannelOutboundHandler in the ChannelPipeline.

Type Methods

Default Implementations

Relationships

Conforms To

See Also

Authentication and Internals

A
Authentication Flow

Choose an authentication strategy and understand how the client falls back when a method is unavailable.

C
SSHWrapperHandler

Channel handler that wraps forwarded bytes in SSHChannelData.