Package org.jcsp.net2.mobile
Class CodeLoadingChannelFilter.FilterTX
- java.lang.Object
-
- org.jcsp.net2.mobile.CodeLoadingChannelFilter.FilterTX
-
- All Implemented Interfaces:
NetworkMessageFilter.FilterTx
- Enclosing class:
- CodeLoadingChannelFilter
public static final class CodeLoadingChannelFilter.FilterTX extends Object implements NetworkMessageFilter.FilterTx
-
-
Constructor Summary
Constructors Constructor Description FilterTX()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
filterTX(Object obj)
Encodes an object into an array of bytes for sending
-
-
-
Method Detail
-
filterTX
public byte[] filterTX(Object obj) throws IOException
Description copied from interface:NetworkMessageFilter.FilterTx
Encodes an object into an array of bytes for sending- Specified by:
filterTX
in interfaceNetworkMessageFilter.FilterTx
- 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
-
-