org.jcsp.net2
Class NetworkMessageFilter

java.lang.Object
  extended by org.jcsp.net2.NetworkMessageFilter

public final class NetworkMessageFilter
extends Object

This class defines what is required for the internal networked channel filter. These filters are used to encode and decode objects into a byte array equivalent. This enables data independence between separate platforms, as well as data separation from the communication. Two filters are supplied with JCSP; a Object filter and a raw data filter. The former will encode and decode messages using the standard object serialization techniques. The latter will expect byte arrays only, and will do no encoding or decoding. The object filter is the default created by the network factory methods.

Author:
Kevin Chalmers
See Also:
ObjectNetworkMessageFilter, RawNetworkMessageFilter

Nested Class Summary
static interface NetworkMessageFilter.FilterRx
          The filter used to decode an incoming message
static interface NetworkMessageFilter.FilterTx
          The filter used to encode an outgoing message
 
Constructor Summary
NetworkMessageFilter()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkMessageFilter

public NetworkMessageFilter()


Copyright © 1996-2012. All Rights Reserved.