Package org.jcsp.net2
Interface NetworkMessageFilter.FilterTx
-
- All Known Implementing Classes:
CodeLoadingChannelFilter.FilterTX
,ObjectNetworkMessageFilter.FilterTX
,RawNetworkMessageFilter.FilterTX
- Enclosing class:
- NetworkMessageFilter
public static interface NetworkMessageFilter.FilterTx
The filter used to encode an outgoing message- Author:
- Kevin Chalmers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
filterTX(Object obj)
Encodes an object into an array of bytes for sending
-
-
-
Method Detail
-
filterTX
byte[] filterTX(Object obj) throws IOException
Encodes an object into an array of bytes for sending- Parameters:
obj
- The object to convert into bytes- Returns:
- The byte array representation of the Object
- Throws:
IOException
- Thrown if something goes wrong during the encoding
-
-