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, userEventTriggered
channelRead, channelReadComplete, handlerRemoved, read, write
bind, close, connect, deregister, disconnect, flush
public void channelRegistered(io.netty.channel.ChannelHandlerContext ctx) throws java.lang.Exception
channelRegistered
in interface io.netty.channel.ChannelInboundHandler
channelRegistered
in class io.netty.channel.ChannelInboundHandlerAdapter
java.lang.Exception
public static <R,W> TcpServerConnectionToChannelBridge<R,W> addToPipeline(io.netty.channel.ChannelPipeline pipeline, ConnectionHandler<R,W> connectionHandler, TcpServerEventPublisher eventPublisher, boolean isSecure)