public class PacketDecoder extends <any>
This is needed to interpret the data sent correctly, and make sure that the data maintains its transmission integrity.
Note this is not thread safe. It should only be used on one thread, or create a new instance for each channel.
Constructor and Description |
---|
PacketDecoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(ChannelHandlerContext context,
ByteBuf buf,
List<Object> objects) |
void |
handlerAdded(ChannelHandlerContext context) |
public PacketDecoder()
Copyright © 2016. All rights reserved.