StreamBridge

class StreamBridge(target: Channel) : ChannelInboundHandlerAdapter

Forwards inbound data to a target channel and closes the target on disconnect.

Constructors

Link copied to clipboard
constructor(target: Channel)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun channelActive(ctx: ChannelHandlerContext?)
Link copied to clipboard
open override fun channelInactive(ctx: ChannelHandlerContext)
Link copied to clipboard
open override fun channelRead(ctx: ChannelHandlerContext, msg: Any)
Link copied to clipboard
open fun channelReadComplete(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelRegistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelUnregistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelWritabilityChanged(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun exceptionCaught(ctx: ChannelHandlerContext?, cause: Throwable?)
Link copied to clipboard
open fun handlerAdded(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun handlerRemoved(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun userEventTriggered(ctx: ChannelHandlerContext?, evt: Any?)