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
Method Summary |
byte[] |
filterTX(Object obj)
Encodes an object into an array of bytes for sending |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeLoadingChannelFilter.FilterTX
public CodeLoadingChannelFilter.FilterTX()
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 interface NetworkMessageFilter.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
Copyright © 1996-2012. All Rights Reserved.