public class TcpPacketDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
Constructor and Description |
---|
TcpPacketDecoder(InetSocketAddress senderAddress,
InetSocketAddress recipientAddress,
Session session) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public TcpPacketDecoder(InetSocketAddress senderAddress, InetSocketAddress recipientAddress, Session session)
Copyright © 2018. All rights reserved.