public class UaTcpServerAsymmetricHandler extends io.netty.handler.codec.ByteToMessageDecoder implements HeaderDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATORHEADER_LENGTH, HEADER_LENGTH_INDEX, PROTOCOL_VERSION| Constructor and Description |
|---|
UaTcpServerAsymmetricHandler(UaTcpStackServer server,
SerializationQueue serializationQueue) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
List<Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessageLengthpublic UaTcpServerAsymmetricHandler(UaTcpStackServer server, SerializationQueue serializationQueue)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2015. All rights reserved.