Package org.jcsp.net2
Class RawNetworkMessageFilter.FilterTX
java.lang.Object
org.jcsp.net2.RawNetworkMessageFilter.FilterTX
- All Implemented Interfaces:
NetworkMessageFilter.FilterTx
- Enclosing class:
RawNetworkMessageFilter
public static final class RawNetworkMessageFilter.FilterTX
extends Object
implements NetworkMessageFilter.FilterTx
The sending Filter
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FilterTX
public FilterTX()Creates a new output filter
-
-
Method Details
-
filterTX
Will send a byte array as raw bytes- Specified by:
filterTX
in interfaceNetworkMessageFilter.FilterTx
- Parameters:
obj
- The object to send. This must be a byte array- Returns:
- The same byte array as sent in
- Throws:
IOException
- Thrown if the sent object is not a byte array
-