Package org.jcsp.net2

Interface NetworkMessageFilter.FilterRx

All Known Implementing Classes:
BNSNetworkMessageFilter.FilterRX, CNSNetworkMessageFilter.FilterRX, CodeLoadingChannelFilter.FilterRX, ObjectNetworkMessageFilter.FilterRX, RawNetworkMessageFilter.FilterRX
Enclosing class:
NetworkMessageFilter

public static interface NetworkMessageFilter.FilterRx
The filter used to decode an incoming message
  • Method Summary

    Modifier and Type
    Method
    Description
    filterRX(byte[] bytes)
    Decodes an incoming byte array back into an object
  • Method Details

    • filterRX

      Object filterRX(byte[] bytes) throws IOException
      Decodes an incoming byte array back into an object
      Parameters:
      bytes - The bytes to be decoded
      Returns:
      The recreated Object
      Throws:
      IOException - Thrown if something goes wrong during the decoding