Package org.jcsp.net2
Interface NetworkMessageFilter.FilterTx
-
- All Known Implementing Classes:
BNSNetworkMessageFilter.FilterTX
,CNSNetworkMessageFilter.FilterTX
,CodeLoadingChannelFilter.FilterTX
,ObjectNetworkMessageFilter.FilterTX
,RawNetworkMessageFilter.FilterTX
- Enclosing class:
- NetworkMessageFilter
public static interface NetworkMessageFilter.FilterTx
The filter used to encode an outgoing message
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
filterTX(java.lang.Object obj)
Encodes an object into an array of bytes for sending
-
-
-
Method Detail
-
filterTX
byte[] filterTX(java.lang.Object obj) throws java.io.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:
java.io.IOException
- Thrown if something goes wrong during the encoding
-
-