Uses of Interface
org.jcsp.util.filter.Filter
Packages that use Filter
Package
Description
This is main package for JCSP.NET.
Supports dynamic operations over the JCSP.NET infrastructure.
This defines filtering channels that can apply transformations to objects
as they are read and/or written.
-
Uses of Filter in org.jcsp.net
Classes in org.jcsp.net that implement FilterModifier and TypeClassDescription(package private) class
This class is used in the dynamic class loading mechanism.private class
Methods in org.jcsp.net with parameters of type FilterModifier and TypeMethodDescription(package private) void
Link.addTxFilter
(Filter filter, int index) Adds a transmission filter.(package private) void
Link.removeTxFilter
(Filter filter) Removes a transmission filter. -
Uses of Filter in org.jcsp.net.dynamic
Classes in org.jcsp.net.dynamic that implement FilterModifier and TypeClassDescription(package private) class
A filter to be plugged into the sending end of a channel if dynamic class transfer is to be supported over the channel.(package private) class
This class is used in the dynamic class loading mechanism.Fields in org.jcsp.net.dynamic declared as FilterModifier and TypeFieldDescriptionprivate static Filter
DynamicClassLoader.nonDynamicClassLoadingRxFilter
The alternative RX filter that does not support dynamic class loading, returned bygetNonDynamicClassLoadingRxFilter
.Methods in org.jcsp.net.dynamic that return FilterModifier and TypeMethodDescriptionDynamicClassLoader.DynamicClassLoaderUserObject.getChannelRxFilter()
Returns the RX filter to be used at the receiving end of a channel if dynamic class loading is to be supported over that channel.DynamicClassLoader.getChannelRxFilter()
Returns the RX filter to be used at the receiving end of a channel if dynamic class loading is to be supported over that channel.DynamicClassLoader.DynamicClassLoaderUserObject.getChannelTxFilter()
Returns the TX filter to be used at the sending end of a channel if dynamic class laoding is to be supported over that channel.DynamicClassLoader.getChannelTxFilter()
Returns the TX filter to be used at the sending end of a channel if dynamic class loading is to be supported over that channel.static Filter
DynamicClassLoader.getNonDynamicClassLoadingRxFilter()
An alternative RX filter that does not support dynamic class loading but will properly unmarshal objects wrapped up by a TX filter.MigratableAltingChannelInputImpl.getReadFilter
(int index) MigratableChannelOutputImpl.getWriteFilter
(int index) Methods in org.jcsp.net.dynamic with parameters of type FilterModifier and TypeMethodDescriptionvoid
MigratableAltingChannelInputImpl.addReadFilter
(Filter filter) void
MigratableAltingChannelInputImpl.addReadFilter
(Filter filter, int index) void
MigratableChannelOutputImpl.addWriteFilter
(Filter filter) void
MigratableChannelOutputImpl.addWriteFilter
(Filter filter, int index) void
MigratableAltingChannelInputImpl.removeReadFilter
(Filter filter) void
MigratableChannelOutputImpl.removeWriteFilter
(Filter filter) -
Uses of Filter in org.jcsp.util.filter
Classes in org.jcsp.util.filter that implement FilterModifier and TypeClassDescriptionclass
This filter will throw aPoisonException
whenfilter(Object)
is called.Fields in org.jcsp.util.filter declared as FilterModifier and TypeFieldDescriptionprivate Filter[]
FilterHolder.filters
The array of filters.private Filter[]
FilteredChannelFactory.readFilters
Read filters to install in channels created by this factory.private Filter[]
FilteredChannelFactory.writeFilters
Write filters to install in channels created by this factory.Methods in org.jcsp.util.filter that return FilterModifier and TypeMethodDescriptionFilterHolder.getFilter
(int index) Returns a filter at the given array index.FilteredAltingChannelInput.getReadFilter
(int index) FilteredChannelInputWrapper.getReadFilter
(int index) FilteredSharedChannelInputWrapper.getReadFilter
(int index) ReadFiltered.getReadFilter
(int index) Returns the read filter installed at the given index.FilteredChannelOutputWrapper.getWriteFilter
(int index) FilteredSharedChannelOutputWrapper.getWriteFilter
(int index) WriteFiltered.getWriteFilter
(int index) Returns the write filter installed at the given index.Methods in org.jcsp.util.filter with parameters of type FilterModifier and TypeMethodDescriptionvoid
Adds a filter to the end of the array, possibly enlarging it if it is full.void
Adds a filter at the given index.void
FilteredAltingChannelInput.addReadFilter
(Filter filter) void
FilteredAltingChannelInput.addReadFilter
(Filter filter, int index) void
FilteredChannelInputWrapper.addReadFilter
(Filter filter) void
FilteredChannelInputWrapper.addReadFilter
(Filter filter, int index) void
FilteredSharedChannelInputWrapper.addReadFilter
(Filter filter) void
FilteredSharedChannelInputWrapper.addReadFilter
(Filter filter, int index) void
ReadFiltered.addReadFilter
(Filter filter) Installs a read filter defining a transformation to be applied by theread
method of the channel end.void
ReadFiltered.addReadFilter
(Filter filter, int index) Installs a read filter defining a transformation to be applied by theread
method of the channel end at a specific index.void
FilteredChannelOutputWrapper.addWriteFilter
(Filter filter) void
FilteredChannelOutputWrapper.addWriteFilter
(Filter filter, int index) void
FilteredSharedChannelOutputWrapper.addWriteFilter
(Filter filter) void
FilteredSharedChannelOutputWrapper.addWriteFilter
(Filter filter, int index) void
WriteFiltered.addWriteFilter
(Filter filter) Installs a write filter defining a transformation to be applied by thewrite
method of the channel end.void
WriteFiltered.addWriteFilter
(Filter filter, int index) Installs a write filter defining a transformation to be applied by thewrite
method of the channel end at a specific index.void
FilterHolder.removeFilter
(Filter filter) Removes a filter from the set.void
FilteredAltingChannelInput.removeReadFilter
(Filter filter) void
FilteredChannelInputWrapper.removeReadFilter
(Filter filter) void
FilteredSharedChannelInputWrapper.removeReadFilter
(Filter filter) void
ReadFiltered.removeReadFilter
(Filter filter) Removes the first read filter (lowest index) matching the filter given as a parameter.void
FilteredChannelOutputWrapper.removeWriteFilter
(Filter filter) void
FilteredSharedChannelOutputWrapper.removeWriteFilter
(Filter filter) void
WriteFiltered.removeWriteFilter
(Filter filter) Removes the first write filter (lowest index) matching the filter given as a parameter.Constructors in org.jcsp.util.filter with parameters of type FilterModifierConstructorDescriptionFilteredChannelFactory
(Filter[] readFilters, Filter[] writeFilters) All channels constructed with this Factory instance will have the specifiedFilter
objects inserted into them.