Package org.jcsp.net2

Class ObjectNetworkMessageFilter.FilterRX

    • Constructor Detail

      • FilterRX

        public FilterRX()
        Creates a new incoming object filter
    • Method Detail

      • filterRX

        public Object filterRX​(byte[] bytes)
                        throws IOException
        Decodes an incoming byte array, converting it back into an Object
        Specified by:
        filterRX in interface NetworkMessageFilter.FilterRx
        Parameters:
        bytes - The byte representation of the object
        Returns:
        The recreated Object
        Throws:
        IOException - Thrown of something goes wrong during the decoding