Uses of Interface
org.jcsp.lang.One2AnyChannel
-
Packages that use One2AnyChannel 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 One2AnyChannel in org.jcsp.lang
Classes in org.jcsp.lang that implement One2AnyChannel Modifier and Type Class Description (package private) class
BufferedOne2AnyChannel<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
One2AnyChannelImpl<T>
This implements a one-to-any object channel, safe for use by one writer and many readers.(package private) class
One2AnyImpl<T>
(package private) class
PoisonableBufferedOne2AnyChannel<T>
(package private) class
PoisonableOne2AnyChannelImpl<T>
Methods in org.jcsp.lang that return One2AnyChannel Modifier and Type Method Description One2AnyChannel<T>[]
BufferedChannelArrayFactory. createOne2Any(ChannelDataStore<T> buffer, int n)
Deprecated.Creates a populated array ofn
One2Any
channels with the specified buffering behaviour.One2AnyChannel<T>
BufferedChannelFactory. createOne2Any(ChannelDataStore<T> buffer)
Deprecated.Creates a newOne2Any
channel with the given buffering behaviour.static One2AnyChannel
Channel. createOne2Any()
Deprecated.Use theChannel.one2any()
method instead.static One2AnyChannel[]
Channel. createOne2Any(int n)
Deprecated.Use theChannel.one2anyArray(int)
method instead.static One2AnyChannel
Channel. createOne2Any(ChannelDataStore buffer)
Deprecated.Use theChannel.one2any(ChannelDataStore)
method instead.static One2AnyChannel[]
Channel. createOne2Any(ChannelDataStore buffer, int n)
Deprecated.Use theChannel.one2anyArray(int,ChannelDataStore)
method instead.One2AnyChannel<T>[]
ChannelArrayFactory. createOne2Any(int n)
Deprecated.Creates a populated array ofn
One2Any
channels.One2AnyChannel<T>
ChannelFactory. createOne2Any()
Deprecated.Creates a newOne2Any
channel.One2AnyChannel<T>
StandardChannelFactory. createOne2Any()
Constructs and returns aOne2AnyChannel
object.One2AnyChannel<T>[]
StandardChannelFactory. createOne2Any(int n)
Constructs and returns an array ofOne2AnyChannel
objects.One2AnyChannel<T>
StandardChannelFactory. createOne2Any(ChannelDataStore<T> buffer)
Constructs and returns aOne2AnyChannel
object which uses the specifiedChannelDataStore
object as a buffer.One2AnyChannel<T>[]
StandardChannelFactory. createOne2Any(ChannelDataStore<T> buffer, int n)
Constructs and returns an array ofOne2AnyChannel
objects which use the specifiedChannelDataStore
object as a buffer.static <T> One2AnyChannel<T>
Channel. one2any()
This constructs an Object carrying channel that may only be connected to one writer at a time, but any number of reader processes.static <T> One2AnyChannel<T>
Channel. one2any(int immunity)
This constructs a poisonable one-any Object channel.static <T> One2AnyChannel<T>
Channel. one2any(ChannelDataStore<T> buffer)
This constructs a one-any Object channel with user chosen buffering size and policy.static <T> One2AnyChannel<T>
Channel. one2any(ChannelDataStore<T> buffer, int immunity)
This constructs a buffered poisonable one-any Object channel.static <T> One2AnyChannel<T>[]
Channel. one2anyArray(int size)
This constructs an array of one-any Object channels.static <T> One2AnyChannel<T>[]
Channel. one2anyArray(int size, int immunity)
This constructs an array of poisonable one-any Object channels.static <T> One2AnyChannel<T>[]
Channel. one2anyArray(int size, ChannelDataStore<T> buffer)
This constructs an array of buffered one-any Object channels.static <T> One2AnyChannel<T>[]
Channel. one2anyArray(int size, ChannelDataStore<T> buffer, int immunity)
This constructs an array of buffered poisonable one-any Object channels.Methods in org.jcsp.lang with parameters of type One2AnyChannel Modifier and Type Method Description static <T> SharedChannelInput<T>[]
Channel. getInputArray(One2AnyChannel<T>[] c)
This extracts the input-ends from the given channel array.static <T> ChannelOutput<T>[]
Channel. getOutputArray(One2AnyChannel<T>[] c)
This extracts the output-ends from the given channel array. -
Uses of One2AnyChannel in org.jcsp.util.filter
Subinterfaces of One2AnyChannel in org.jcsp.util.filter Modifier and Type Interface Description interface
FilteredOne2AnyChannel
Interface for anAny2Any
channel that supports both read and write filters.Classes in org.jcsp.util.filter that implement One2AnyChannel Modifier and Type Class Description (package private) class
FilteredOne2AnyChannelImpl
Implements anOne2Any
channel that supports filtering at each end.Methods in org.jcsp.util.filter that return One2AnyChannel Modifier and Type Method Description One2AnyChannel
FilteredChannelFactory. createOne2Any()
Creates a new One2Any channel with the filtering options set for this factory.One2AnyChannel[]
FilteredChannelFactory. createOne2Any(int n)
Constructs and returns an array ofOne2AnyChannel
objects.One2AnyChannel
FilteredChannelFactory. createOne2Any(ChannelDataStore buffer)
Creates a new One2Any channel with the filtering options set for this factory and the specified data buffer.One2AnyChannel[]
FilteredChannelFactory. createOne2Any(ChannelDataStore buffer, int n)
Constructs and returns an array ofOne2AnyChannel
objects with a given buffering behaviour.Constructors in org.jcsp.util.filter with parameters of type One2AnyChannel Constructor Description FilteredOne2AnyChannelImpl(One2AnyChannel chan)
Constructs a new filtered channel from an existing channel.
-