Package | Description |
---|---|
ca.randolf.net.cs |
These are Client/Server internet I/O classes that encapsulate multiple sets of streams over a single Socket connection (the use of TLS/SSL Sockets is strongly encouraged, but not required). A few key advantages with these classes is that server Operating Systems ultimately don't need to be configured to support as many socket connections, initialization/authentication steps don't need to be repeated (as may normally be the case when opening additional sockets), and built-in compression can help to reduce bandwidth requirements.
|
Modifier and Type | Method and Description |
---|---|
static Iceberg |
Iceberg.NULL()
Instantiation of zero-byte packet to be sent.
|
Iceberg |
Iceberg.setData(byte... data)
Creates a new Iceberg based on the current one, but with a new Data section
stored internally in compressed form if it can be compressed.
|
Modifier and Type | Method and Description |
---|---|
void |
Lake.send(Iceberg ib)
Sends an Iceberg over the SSLSocket in a thread-safe manner.
|
void |
RiverOutputStream.write(Iceberg ib)
Writes the specified Iceberg to this output stream. The general
contract for
write is that all the bytes are written to the
output stream. |