Package org.jcsp.net2

Interface NetworkMessageFilter.FilterTx

    • Method Detail

      • filterTX

        byte[] filterTX​(Object obj)
                 throws IOException
        Encodes an object into an array of bytes for sending
        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