org.jcsp.net2.mobile
Class CodeLoadingChannelFilter.FilterRX

java.lang.Object
  extended by 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
CodeLoadingChannelFilter.FilterRX()
           
 
Method Summary
 Object filterRX(byte[] bytes)
          Decodes an incoming byte array back into an object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeLoadingChannelFilter.FilterRX

public CodeLoadingChannelFilter.FilterRX()
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 interface NetworkMessageFilter.FilterRx
Parameters:
bytes - The bytes to be decoded
Returns:
The recreated Object
Throws:
IOException - Thrown if something goes wrong during the decoding


Copyright © 1996-2012. All Rights Reserved.