public class PacketDecoder extends Object
| Constructor and Description |
|---|
PacketDecoder(JsonSupport jsonSupport,
AckManager ackManager) |
| Modifier and Type | Method and Description |
|---|---|
Packet |
decodePackets(io.netty.buffer.ByteBuf buffer,
ClientHead client) |
io.netty.buffer.ByteBuf |
preprocessJson(Integer jsonIndex,
io.netty.buffer.ByteBuf content) |
public PacketDecoder(JsonSupport jsonSupport, AckManager ackManager)
public io.netty.buffer.ByteBuf preprocessJson(Integer jsonIndex, io.netty.buffer.ByteBuf content) throws IOException
IOExceptionpublic Packet decodePackets(io.netty.buffer.ByteBuf buffer, ClientHead client) throws IOException
IOExceptionCopyright © 2012–2021. All rights reserved.