Package | Description |
---|---|
naga |
The main Naga classes.
|
naga.packetreader |
Package containing various ready-to-use
PacketReader implementations. |
Modifier and Type | Method and Description |
---|---|
void |
NIOSocket.setPacketReader(PacketReader packetReader)
Sets the packet reader for this socket.
|
Modifier and Type | Class and Description |
---|---|
class |
AsciiLinePacketReader
Reads a bytestream delimited by '\n'.
|
class |
DelimiterPacketReader
Class to read a byte stream delimited by a byte marking the end of a packet.
|
class |
RawPacketReader
This packet reader reads as many bytes as possible from the stream
and then bundles those bytes into a packet.
|
class |
RegularPacketReader
Reads packet of the format
|
class |
ZeroDelimitedPacketReader
Reads a bytestream delimited by 0.
|