R - The type of objects read from the server using this bridge.W - The type of objects written to this server using this bridge.public class TcpServerConnectionToChannelBridge<R,W>
extends io.reactivex.netty.channel.AbstractConnectionToChannelBridge<R,W>
AbstractConnectionToChannelBridge for servers.| Modifier and Type | Method and Description |
|---|---|
static <R,W> TcpServerConnectionToChannelBridge<R,W> |
addToPipeline(io.netty.channel.ChannelPipeline pipeline,
ConnectionHandler<R,W> connectionHandler,
TcpServerEventPublisher eventPublisher,
boolean isSecure) |
void |
channelRegistered(io.netty.channel.ChannelHandlerContext ctx) |
channelInactive, channelUnregistered, checkEagerSubscriptionIfConfigured, connectionInputSubscriberExists, exceptionCaught, getNewChannelSub, handlerAdded, isValidToEmit, newMessage, onNewReadSubscriber, shouldReadMore, userEventTriggeredchannelRead, channelReadComplete, handlerRemoved, read, writebind, close, connect, deregister, disconnect, flushpublic void channelRegistered(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelRegistered in interface io.netty.channel.ChannelInboundHandlerchannelRegistered in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic static <R,W> TcpServerConnectionToChannelBridge<R,W> addToPipeline(io.netty.channel.ChannelPipeline pipeline, ConnectionHandler<R,W> connectionHandler, TcpServerEventPublisher eventPublisher, boolean isSecure)