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 |
---|---|
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(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.any2any(int immunity)
This constructs a 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,
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.
|
static <T> Any2AnyChannel<T>[] |
Channel.any2anyArray(int size,
int immunity)
This constructs an array of poisonable any-any Object channels.
|
Any2AnyChannel<T> |
StandardChannelFactory.createAny2Any()
Constructs and returns an
Any2AnyChannel object. |
static Any2AnyChannel |
Channel.createAny2Any()
Deprecated.
Use the
Channel.any2any() method instead. |
Any2AnyChannel<T> |
ChannelFactory.createAny2Any()
Deprecated.
Creates a new
Any2Any channel. |
static Any2AnyChannel |
Channel.createAny2Any(ChannelDataStore buffer)
Deprecated.
Use the
Channel.any2any(ChannelDataStore) method instead. |
Any2AnyChannel<T> |
StandardChannelFactory.createAny2Any(ChannelDataStore<T> buffer)
Constructs and returns a
Any2AnyChannel object which
uses the specified ChannelDataStore object as a buffer. |
Any2AnyChannel<T> |
BufferedChannelFactory.createAny2Any(ChannelDataStore<T> buffer)
Deprecated.
Creates a new
Any2Any channel with the given buffering behaviour. |
Any2AnyChannel<T>[] |
StandardChannelFactory.createAny2Any(ChannelDataStore<T> buffer,
int n)
Constructs and returns an array of
Any2AnyChannel objects
which use the specified ChannelDataStore object as a
buffer. |
Any2AnyChannel<T>[] |
BufferedChannelArrayFactory.createAny2Any(ChannelDataStore<T> buffer,
int n)
Deprecated.
Creates a populated array of
n Any2Any channels with the specified
buffering behaviour. |
static Any2AnyChannel[] |
Channel.createAny2Any(ChannelDataStore buffer,
int n)
Deprecated.
Use the
Channel.any2anyArray(int,ChannelDataStore) method instead. |
Any2AnyChannel[] |
StandardChannelFactory.createAny2Any(int n)
Constructs and returns an array of
Any2AnyChannel
objects. |
static Any2AnyChannel[] |
Channel.createAny2Any(int n)
Deprecated.
Use the
Channel.any2anyArray(int) method instead. |
Any2AnyChannel<T>[] |
ChannelArrayFactory.createAny2Any(int n)
Deprecated.
Creates a populated array of
n Any2Any channels. |
Modifier and Type | Method and 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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FilteredAny2AnyChannel
Interface for an Any2Any channel that has support for filtering at both ends.
|
Modifier and Type | Method and Description |
---|---|
Any2AnyChannel |
FilteredChannelFactory.createAny2Any()
Creates a new Any2Any channel with the filtering options set for this factory.
|
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 of
Any2AnyChannel
objects with a given buffering behaviour. |
Any2AnyChannel[] |
FilteredChannelFactory.createAny2Any(int n)
Constructs and returns an array of
Any2AnyChannel
objects. |
Copyright © 1996–2016. All rights reserved.