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 java.lang.Object implements NetworkMessageFilter.FilterTx
-
-
Field Summary
Fields Modifier and Type Field Description private ObjectNetworkMessageFilter.FilterTX
internalFilter
-
Constructor Summary
Constructors Constructor Description FilterTX()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
filterTX(java.lang.Object obj)
Encodes an object into an array of bytes for sending
-
-
-
Field Detail
-
internalFilter
private final ObjectNetworkMessageFilter.FilterTX internalFilter
-
-
Method Detail
-
filterTX
public byte[] filterTX(java.lang.Object obj) throws java.io.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:
java.io.IOException
- Thrown if something goes wrong during the encoding
-
-