@NotThreadSafe public final class NettyPacketReader extends Object implements PacketReader
Modifier and Type | Class and Description |
---|---|
static class |
NettyPacketReader.Factory
Factory class to create
NettyPacketReader s. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
pos() |
DataBuffer |
readPacket()
Reads a packet.
|
public long pos()
pos
in interface PacketReader
public DataBuffer readPacket() throws IOException
PacketReader
readPacket
in interface PacketReader
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.