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.
|
Modifier and Type | Method and Description |
---|---|
One2AnyChannel<T> |
StandardChannelFactory.createOne2Any()
Constructs and returns a
One2AnyChannel object. |
One2AnyChannel<T> |
ChannelFactory.createOne2Any()
Deprecated.
Creates a new
One2Any channel. |
static One2AnyChannel |
Channel.createOne2Any()
Deprecated.
Use the
Channel.one2any() method instead. |
static One2AnyChannel |
Channel.createOne2Any(ChannelDataStore buffer)
Deprecated.
Use the
Channel.one2any(ChannelDataStore) method instead. |
One2AnyChannel<T> |
StandardChannelFactory.createOne2Any(ChannelDataStore<T> buffer)
Constructs and returns a
One2AnyChannel object which
uses the specified ChannelDataStore object as a buffer. |
One2AnyChannel<T> |
BufferedChannelFactory.createOne2Any(ChannelDataStore<T> buffer)
Deprecated.
Creates a new
One2Any channel with the given buffering behaviour. |
One2AnyChannel<T>[] |
BufferedChannelArrayFactory.createOne2Any(ChannelDataStore<T> buffer,
int n)
Deprecated.
Creates a populated array of
n One2Any channels with the specified
buffering behaviour. |
One2AnyChannel<T>[] |
StandardChannelFactory.createOne2Any(ChannelDataStore<T> buffer,
int n)
Constructs and returns an array of
One2AnyChannel objects
which use the specified ChannelDataStore object as a
buffer. |
static One2AnyChannel[] |
Channel.createOne2Any(ChannelDataStore buffer,
int n)
Deprecated.
Use the
Channel.one2anyArray(int,ChannelDataStore) method instead. |
One2AnyChannel<T>[] |
ChannelArrayFactory.createOne2Any(int n)
Deprecated.
Creates a populated array of
n One2Any channels. |
One2AnyChannel<T>[] |
StandardChannelFactory.createOne2Any(int n)
Constructs and returns an array of
One2AnyChannel
objects. |
static One2AnyChannel[] |
Channel.createOne2Any(int n)
Deprecated.
Use the
Channel.one2anyArray(int) method instead. |
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(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.one2any(int immunity)
This constructs a 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,
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.
|
static <T> One2AnyChannel<T>[] |
Channel.one2anyArray(int size,
int immunity)
This constructs an array of poisonable one-any Object channels.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FilteredOne2AnyChannel
Interface for an
Any2Any channel that supports both read and write filters. |
Modifier and Type | Method and Description |
---|---|
One2AnyChannel |
FilteredChannelFactory.createOne2Any()
Creates a new One2Any channel with the filtering options set for this factory.
|
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 of
One2AnyChannel
objects with a given buffering behaviour. |
One2AnyChannel[] |
FilteredChannelFactory.createOne2Any(int n)
Constructs and returns an array of
One2AnyChannel
objects. |
Copyright © 1996–2021. All rights reserved.