private class Protocol.Reader
extends java.lang.Object
implements java.lang.Runnable
Modifier | Constructor and Description |
---|---|
private |
Reader() |
Modifier and Type | Method and Description |
---|---|
private java.io.Serializable |
byteArrayToObj(byte[] obj)
Restore ("inflate") an object from an in-memory array of bytes.
|
void |
run()
This method instantiates messages from the stream and places into
the queue for further processing.
|
public void run()
run
in interface java.lang.Runnable
private java.io.Serializable byteArrayToObj(byte[] obj) throws java.io.IOException, java.lang.ClassNotFoundException
obj
- The flattened object to restore.java.io.IOException
java.lang.ClassNotFoundException