public class RCPServerDecoder
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
| Constructor and Description |
|---|
RCPServerDecoder(ServerTransporter _transporter,
ServerTransporterListener _listener,
ChannelManager _channelManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg,
java.util.List<java.lang.Object> out) |
acceptInboundMessage, channelReadchannelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic RCPServerDecoder(ServerTransporter _transporter, ServerTransporterListener _listener, ChannelManager _channelManager)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>java.lang.Exception