| Package | Description |
|---|---|
| naga |
The main Naga classes.
|
| naga.packetwriter |
Package containing various ready-to-use
PacketWriter implementations. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
SSLPacketHandler |
Undocumented Class
|
| Modifier and Type | Method | Description |
|---|---|---|
PacketWriter |
SSLPacketHandler.getWriter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
NIOSocket.setPacketWriter(PacketWriter packetWriter) |
Sets the packet writer for this socket.
|
void |
SSLPacketHandler.setWriter(PacketWriter writer) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
AsciiLinePacketWriter |
Writes a bytestream delimited by '\n'.
|
class |
CipherPacketWriter |
Example Writer that encrypts the outgoing stream using a Cipher object.
|
class |
DelimiterPacketWriter |
Class to write a byte stream delimited by a byte marking the end of a packet.
|
class |
RawPacketWriter |
Writes a byte packet to the stream without doing any changes to it.
|
class |
RegularPacketWriter |
Writes packet of the format
|
class |
ZeroDelimitedPacketWriter |
Writes a bytestream delimited by 0.
|
| Modifier and Type | Method | Description |
|---|---|---|
PacketWriter |
CipherPacketWriter.getPacketWriter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CipherPacketWriter.setPacketWriter(PacketWriter packetWriter) |
| Constructor | Description |
|---|---|
CipherPacketWriter(javax.crypto.Cipher cipher,
PacketWriter packetWriter) |