static final class CNSNetworkMessageFilter.FilterRX extends java.lang.Object implements NetworkMessageFilter.FilterRx
Modifier and Type | Field and Description |
---|---|
private java.io.ByteArrayInputStream |
byteIn
The input end to read the message back from
|
private java.io.DataInputStream |
dis
The data input stream used to read in the parts of the message
|
Constructor and Description |
---|
FilterRX()
Creates a new decoding CNSMessage filter
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
filterRX(byte[] bytes)
Decodes the byte equivalent of a CNSMessage
|
private java.io.ByteArrayInputStream byteIn
private java.io.DataInputStream dis
public java.lang.Object filterRX(byte[] bytes) throws java.io.IOException
filterRX
in interface NetworkMessageFilter.FilterRx
bytes
- The byte equivalent of a CNSMessagejava.io.IOException
- Thrown if something goes wrong during the recreation