Package org.jcsp.net2

Class RawNetworkMessageFilter.FilterTX

    • Constructor Summary

      Constructors 
      Constructor Description
      FilterTX()
      Creates a new output filter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] filterTX​(java.lang.Object obj)
      Will send a byte array as raw bytes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterTX

        public FilterTX()
        Creates a new output filter
    • Method Detail

      • filterTX

        public byte[] filterTX​(java.lang.Object obj)
                        throws java.io.IOException
        Will send a byte array as raw bytes
        Specified by:
        filterTX in interface NetworkMessageFilter.FilterTx
        Parameters:
        obj - The object to send. This must be a byte array
        Returns:
        The same byte array as sent in
        Throws:
        java.io.IOException - Thrown if the sent object is not a byte array