org.jcsp.net2
Interface NetworkMessageFilter.FilterTx

All Known Implementing Classes:
CodeLoadingChannelFilter.FilterTX, ObjectNetworkMessageFilter.FilterTX, RawNetworkMessageFilter.FilterTX
Enclosing class:
NetworkMessageFilter

public static interface NetworkMessageFilter.FilterTx

The filter used to encode an outgoing message

Author:
Kevin Chalmers

Method Summary
 byte[] filterTX(Object obj)
          Encodes an object into an array of bytes for sending
 

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


Copyright © 1996-2012. All Rights Reserved.