Package org.jcsp.util.filter
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.
-
Interface Summary Interface Description 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 anAny2Any
channel that supports both read and write filters.FilteredOne2OneChannel Interface for aOne2One
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 Class Description FilteredAltingChannelInput Implements anAltingChannelInput
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 aSharedChannelInput
that adds read filtering.FilteredSharedChannelOutputWrapper This is wrapper for aSharedChannelOutput
that adds write filtering.PoisonFilter This filter will throw aPoisonException
whenfilter(Object)
is called. -
Exception Summary Exception Description PoisonFilterException Deprecated. Use poison directly instead