Package org.jcsp.util.filter
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.
-
ClassDescriptionInterface for channel plug-ins that define filtering operations - transformations on the data as it is read or written.Implements an
AltingChannelInput
channel end that also supports read filters.Interface for an Any2Any channel that has support for filtering at both ends.This wraps up an Any2AnyChannel object so that its input and output ends are separate objects.Interface for an Any2One channel that supports filtering operations at each end.This wraps up an Any2OneChannel object so that its input and output ends are separate objects.Static factory for creating filtered channels.Static factory for creating channel end wrappers that support filtering.Factory for creating filtered channel ends around existing channel ends.This class is used for constructing Filtered Channels.Interface for a channel input end that supports filtering operations.Wrapper for an input channel end to include read filtering functionality.Interface for a channel output end that supports write filtering operations.Wrapper for an output channel end to include write filtering ability.Interface for anAny2Any
channel that supports both read and write filters.Implements anOne2Any
channel that supports filtering at each end.Interface for aOne2One
channel that supports filtering operations at each end.Implements aOne2One
channel that supports filtering at each end.Interface for a channel input end that supports filtering and can be shared by multiple processes.This is wrapper for aSharedChannelInput
that adds read filtering.Interface for an output channel end that supports filtering operations and can be shared by multiple concurrent processes.This is wrapper for aSharedChannelOutput
that adds write filtering.Storage scheme for a set of filters that is dynamically sized and supports insert and remove operations to keep the filters in a contiguous block.This filter will throw aPoisonException
whenfilter(Object)
is called.Deprecated.Use poison directly insteadInterface for a channel end supporting read filtering operations.Interface for a channel end supporting write filtering operations.