Read data from in, deserialize an object and return it.
Read data from in, deserialize an object and return it.
Exception
if a deserialization error occurs.
Serialize an object and write it into out.
Serialize an object and write it into out.
Object to serialize.
Close the socket.
Close the socket.
You could derive this method to perform additional cleanup
when closing the StreamManager
.
Read data from in, deserialize an object and return it.
Create a pair of I/O socket-based channel endpoints,
reading from in
and writing to out
.
Alias for close.
Alias for close.
The InputStream
of socket
.
The InputStream
of socket
.
The OutputStream
of socket
.
The OutputStream
of socket
.
Base class for socket management and (de)serialization of messages.
This class assumes to have exclusive control over the given socket.