Package org.jcsp.net2.mobile
Class CodeLoadingChannelFilter.FilterRX
- java.lang.Object
-
- org.jcsp.net2.mobile.CodeLoadingChannelFilter.FilterRX
-
- All Implemented Interfaces:
NetworkMessageFilter.FilterRx
- Enclosing class:
- CodeLoadingChannelFilter
public static final class CodeLoadingChannelFilter.FilterRX extends Object implements NetworkMessageFilter.FilterRx
-
-
Constructor Summary
Constructors Constructor Description FilterRX()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
filterRX(byte[] bytes)
Decodes an incoming byte array back into an object
-
-
-
Method Detail
-
filterRX
public Object filterRX(byte[] bytes) throws IOException
Description copied from interface:NetworkMessageFilter.FilterRx
Decodes an incoming byte array back into an object- Specified by:
filterRX
in interfaceNetworkMessageFilter.FilterRx
- Parameters:
bytes
- The bytes to be decoded- Returns:
- The recreated Object
- Throws:
IOException
- Thrown if something goes wrong during the decoding
-
-