CSP for Java
(JCSP) 1.1-rc4

Package org.jcsp.util.filter

This defines filtering channels that can apply transformations to objects as they are read and/or written.

See:
          Description

Interface Summary
Filter Interface for channel plug-ins that define filtering operations - transformations on the data as it is read or written.
FilteredAny2AnyChannel Interface for an Any2Any channel that has support for filtering at both ends.
FilteredAny2OneChannel Interface for an Any2One channel that supports filtering operations at each end.
FilteredChannelInput Interface for a channel input end that supports filtering operations.
FilteredChannelOutput Interface for a channel output end that supports write filtering operations.
FilteredOne2AnyChannel Interface for an Any2Any channel that supports both read and write filters.
FilteredOne2OneChannel Interface for a One2One channel that supports filtering operations at each end.
FilteredSharedChannelInput Interface for a channel input end that supports filtering and can be shared by multiple processes.
FilteredSharedChannelOutput Interface for an output channel end that supports filtering operations and can be shared by multiple concurrent processes.
ReadFiltered Interface for a channel end supporting read filtering operations.
WriteFiltered Interface for a channel end supporting write filtering operations.
 

Class Summary
FilteredAltingChannelInput Implements an AltingChannelInput channel end that also supports read filters.
FilteredChannel Static factory for creating filtered channels.
FilteredChannelEnd Static factory for creating channel end wrappers that support filtering.
FilteredChannelEndFactory Factory for creating filtered channel ends around existing channel ends.
FilteredChannelFactory This class is used for constructing Filtered Channels.
FilteredSharedChannelInputWrapper This is wrapper for a SharedChannelInput that adds read filtering.
FilteredSharedChannelOutputWrapper This is wrapper for a SharedChannelOutput that adds write filtering.
PoisonFilter This filter will throw a PoisonException when filter(Object) is called.
 

Exception Summary
PoisonFilterException Deprecated. Use poison directly instead
 

Package org.jcsp.util.filter Description

This defines filtering channels that can apply transformations to objects as they are read and/or written. A completely filtered channel can be created using the FilteredChannel factory, or a filtered end can be created for an existing channel.

Only a PoisonFilter is included in this package. User-defined filters can be created by implementing the Filter interface to define the transformation operation to apply on data objects.


CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.