Uses of Interface
org.jcsp.lang.Any2AnyChannel
-
Packages that use Any2AnyChannel Package Description org.jcsp.lang This provides classes and interfaces corresponding to the fundamental primitives of CSP.org.jcsp.util.filter This defines filtering channels that can apply transformations to objects as they are read and/or written. -
-
Uses of Any2AnyChannel in org.jcsp.lang
Classes in org.jcsp.lang that implement Any2AnyChannel Modifier and Type Class Description (package private) class
Any2AnyChannelImpl<T>
This implements an any-to-any object channel, safe for use by many writers and many readers.(package private) class
Any2AnyImpl<T>
(package private) class
BufferedAny2AnyChannel<T>
This implements an any-to-any object channel with user-definable buffering, safe for use by many writers and many readers.(package private) class
PoisonableAny2AnyChannelImpl<T>
(package private) class
PoisonableBufferedAny2AnyChannel<T>
Methods in org.jcsp.lang that return Any2AnyChannel Modifier and Type Method Description static <T> Any2AnyChannel<T>
Channel. any2any()
This constructs an Object carrying channel that may be connected to any number of writer processes and any number of reader processes.static <T> Any2AnyChannel<T>
Channel. any2any(int immunity)
This constructs a poisonable any-any Object channel.static <T> Any2AnyChannel<T>
Channel. any2any(ChannelDataStore<T> buffer)
This constructs an any-any Object channel with user chosen buffering size and policy.static <T> Any2AnyChannel<T>
Channel. any2any(ChannelDataStore<T> buffer, int immunity)
This constructs a buffered poisonable any-any Object channel.static <T> Any2AnyChannel<T>[]
Channel. any2anyArray(int size)
This constructs an array of any-any Object channels.static <T> Any2AnyChannel<T>[]
Channel. any2anyArray(int size, int immunity)
This constructs an array of poisonable any-any Object channels.static <T> Any2AnyChannel<T>[]
Channel. any2anyArray(int size, ChannelDataStore<T> buffer)
This constructs an array of buffered any-any Object channels.static <T> Any2AnyChannel<T>[]
Channel. any2anyArray(int size, ChannelDataStore<T> buffer, int immunity)
This constructs an array of buffered poisonable any-any Object channels.Any2AnyChannel<T>[]
BufferedChannelArrayFactory. createAny2Any(ChannelDataStore<T> buffer, int n)
Deprecated.Creates a populated array ofn
Any2Any
channels with the specified buffering behaviour.Any2AnyChannel<T>
BufferedChannelFactory. createAny2Any(ChannelDataStore<T> buffer)
Deprecated.Creates a newAny2Any
channel with the given buffering behaviour.static Any2AnyChannel
Channel. createAny2Any()
Deprecated.Use theChannel.any2any()
method instead.static Any2AnyChannel[]
Channel. createAny2Any(int n)
Deprecated.Use theChannel.any2anyArray(int)
method instead.static Any2AnyChannel
Channel. createAny2Any(ChannelDataStore buffer)
Deprecated.Use theChannel.any2any(ChannelDataStore)
method instead.static Any2AnyChannel[]
Channel. createAny2Any(ChannelDataStore buffer, int n)
Deprecated.Use theChannel.any2anyArray(int,ChannelDataStore)
method instead.Any2AnyChannel<T>[]
ChannelArrayFactory. createAny2Any(int n)
Deprecated.Creates a populated array ofn
Any2Any
channels.Any2AnyChannel<T>
ChannelFactory. createAny2Any()
Deprecated.Creates a newAny2Any
channel.Any2AnyChannel<T>
StandardChannelFactory. createAny2Any()
Constructs and returns anAny2AnyChannel
object.Any2AnyChannel[]
StandardChannelFactory. createAny2Any(int n)
Constructs and returns an array ofAny2AnyChannel
objects.Any2AnyChannel<T>
StandardChannelFactory. createAny2Any(ChannelDataStore<T> buffer)
Constructs and returns aAny2AnyChannel
object which uses the specifiedChannelDataStore
object as a buffer.Any2AnyChannel<T>[]
StandardChannelFactory. createAny2Any(ChannelDataStore<T> buffer, int n)
Constructs and returns an array ofAny2AnyChannel
objects which use the specifiedChannelDataStore
object as a buffer.Methods in org.jcsp.lang with parameters of type Any2AnyChannel Modifier and Type Method Description static <T> SharedChannelInput<T>[]
Channel. getInputArray(Any2AnyChannel<T>[] c)
This extracts the input-ends from the given channel array.static <T> SharedChannelOutput<T>[]
Channel. getOutputArray(Any2AnyChannel<T>[] c)
This extracts the output-ends from the given channel array. -
Uses of Any2AnyChannel in org.jcsp.util.filter
Subinterfaces of Any2AnyChannel in org.jcsp.util.filter Modifier and Type Interface Description interface
FilteredAny2AnyChannel
Interface for an Any2Any channel that has support for filtering at both ends.Classes in org.jcsp.util.filter that implement Any2AnyChannel Modifier and Type Class Description (package private) class
FilteredAny2AnyChannelImpl
This wraps up an Any2AnyChannel object so that its input and output ends are separate objects.Methods in org.jcsp.util.filter that return Any2AnyChannel Modifier and Type Method Description Any2AnyChannel
FilteredChannelFactory. createAny2Any()
Creates a new Any2Any channel with the filtering options set for this factory.Any2AnyChannel[]
FilteredChannelFactory. createAny2Any(int n)
Constructs and returns an array ofAny2AnyChannel
objects.Any2AnyChannel
FilteredChannelFactory. createAny2Any(ChannelDataStore buffer)
Creates a new Any2Any channel with the filtering options set for this factory and the specified data buffer.Any2AnyChannel[]
FilteredChannelFactory. createAny2Any(ChannelDataStore buffer, int n)
Constructs and returns an array ofAny2AnyChannel
objects with a given buffering behaviour.Constructors in org.jcsp.util.filter with parameters of type Any2AnyChannel Constructor Description FilteredAny2AnyChannelImpl(Any2AnyChannel chan)
Constructs a new filtered channel object based on an existing channel.
-