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 |
---|---|
Waterfall |
Waterfall.newRiver(River river)
This method will be called with the River object representing the new River
that was received from the remote host (the River's ID is encapsulated within
the River object, which also provides access to its respective Inflow and
Outflow streams).
|
Modifier and Type | Method and Description |
---|---|
void |
Lake.setWaterfall(Waterfall nextWaterfall)
Sets the next Waterfall callback object that handles new Rivers.
|
Constructor and Description |
---|
Lake(boolean csFlag,
Waterfall nextWaterfall,
java.net.Socket sslSocket)
Instantiate a new Lake object which faciliates support for multi-substream
communications on the single compressed Client/Server socket-stream.
The Lake is the central socket I/O handler, which implements multiple
substreams with multiple River objects that essentially provide a single
point of reference to corresponding RiverInputStream and RiverOutputStream
objects which are subclasses of the InputStream and OutputStream classes so
as to provide transparency for applications development on a per-River basis.
|