Uses of Interface
org.jcsp.util.filter.Filter
-
Packages that use Filter Package Description org.jcsp.net This is main package for JCSP.NET.org.jcsp.net.dynamic Supports dynamic operations over the JCSP.NET infrastructure.org.jcsp.util.filter 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 Filter Modifier and Type Class Description (package private) class
DeserializeChannelFilter
This class is used in the dynamic class loading mechanism.private class
LoopbackLink.LoopbackSerializationFilter
Methods in org.jcsp.net with parameters of type Filter Modifier and Type Method Description (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 Filter Modifier and Type Class Description (package private) class
DataSerializationFilter
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
DeserializeChannelFilter
This class is used in the dynamic class loading mechanism.Fields in org.jcsp.net.dynamic declared as Filter Modifier and Type Field Description private 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 Filter Modifier and Type Method Description Filter
DynamicClassLoader.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.Filter
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.Filter
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.Filter
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.Filter
MigratableAltingChannelInputImpl. getReadFilter(int index)
Filter
MigratableChannelOutputImpl. getWriteFilter(int index)
Methods in org.jcsp.net.dynamic with parameters of type Filter Modifier and Type Method Description void
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 Filter Modifier and Type Class Description class
PoisonFilter
This filter will throw aPoisonException
whenfilter(Object)
is called.Fields in org.jcsp.util.filter declared as Filter Modifier and Type Field Description private 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 Filter Modifier and Type Method Description Filter
FilterHolder. getFilter(int index)
Returns a filter at the given array index.Filter
FilteredAltingChannelInput. getReadFilter(int index)
Filter
FilteredChannelInputWrapper. getReadFilter(int index)
Filter
FilteredSharedChannelInputWrapper. getReadFilter(int index)
Filter
ReadFiltered. getReadFilter(int index)
Returns the read filter installed at the given index.Filter
FilteredChannelOutputWrapper. getWriteFilter(int index)
Filter
FilteredSharedChannelOutputWrapper. getWriteFilter(int index)
Filter
WriteFiltered. getWriteFilter(int index)
Returns the write filter installed at the given index.Methods in org.jcsp.util.filter with parameters of type Filter Modifier and Type Method Description void
FilterHolder. addFilter(Filter filter)
Adds a filter to the end of the array, possibly enlarging it if it is full.void
FilterHolder. addFilter(Filter filter, int index)
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 Filter Constructor Description FilteredChannelFactory(Filter[] readFilters, Filter[] writeFilters)
All channels constructed with this Factory instance will have the specifiedFilter
objects inserted into them.
-