Package org.jcsp.net2

Interface NetworkMessageFilter.FilterTx

    • Method Detail

      • filterTX

        byte[] filterTX​(java.lang.Object obj)
                 throws java.io.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:
        java.io.IOException - Thrown if something goes wrong during the encoding