Package | Description |
---|---|
org.jcsp.lang |
This provides classes and interfaces corresponding to the fundamental
primitives of CSP.
|
org.jcsp.net |
This is main package for JCSP.NET.
|
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> Any2OneChannel<T> |
Channel.any2one()
This constructs an Object carrying channel that
may be connected to any number of writer processes,
but only one reader at a time.
|
static <T> Any2OneChannel<T> |
Channel.any2one(ChannelDataStore<T> buffer)
This constructs an any-one Object channel with user chosen buffering size and policy.
|
static <T> Any2OneChannel<T> |
Channel.any2one(ChannelDataStore<T> buffer,
int immunity)
This constructs a buffered poisonable any-one Object channel.
|
static <T> Any2OneChannel<T> |
Channel.any2one(int immunity)
This constructs a poisonable any-one Object channel.
|
static <T> Any2OneChannel<T>[] |
Channel.any2oneArray(int size)
This constructs an array of any-one Object channels.
|
static <T> Any2OneChannel<T>[] |
Channel.any2oneArray(int size,
ChannelDataStore<T> buffer)
This constructs an array of buffered any-one Object channels.
|
static <T> Any2OneChannel<T>[] |
Channel.any2oneArray(int size,
ChannelDataStore<T> buffer,
int immunity)
This constructs an array of buffered poisonable any-one Object channels.
|
static <T> Any2OneChannel<T>[] |
Channel.any2oneArray(int size,
int immunity)
This constructs an array of poisonable any-one Object channels.
|
Any2OneChannel<T> |
ChannelFactory.createAny2One()
Deprecated.
Creates a new
Any2One channel. |
static Any2OneChannel |
Channel.createAny2One()
Deprecated.
Use the
Channel.any2one() method instead. |
Any2OneChannel<T> |
StandardChannelFactory.createAny2One()
Constructs and returns an
Any2OneChannel object. |
static Any2OneChannel |
Channel.createAny2One(ChannelDataStore buffer)
Deprecated.
Use the
Channel.any2one(ChannelDataStore) method instead. |
Any2OneChannel<T> |
StandardChannelFactory.createAny2One(ChannelDataStore<T> buffer)
Constructs and returns a
Any2OneChannel object which
uses the specified ChannelDataStore object as a buffer. |
Any2OneChannel<T> |
BufferedChannelFactory.createAny2One(ChannelDataStore<T> buffer)
Deprecated.
Creates a new
Any2One channel with the given buffering behaviour. |
Any2OneChannel<T>[] |
StandardChannelFactory.createAny2One(ChannelDataStore<T> buffer,
int n)
Constructs and returns an array of
Any2OneChannel objects
which use the specified ChannelDataStore object as a
buffer. |
Any2OneChannel<T>[] |
BufferedChannelArrayFactory.createAny2One(ChannelDataStore<T> buffer,
int n)
Deprecated.
Creates a populated array of
n Any2One channels with the specified
buffering behaviour. |
static Any2OneChannel[] |
Channel.createAny2One(ChannelDataStore buffer,
int n)
Deprecated.
Use the
Channel.any2oneArray(int,ChannelDataStore) method instead. |
Any2OneChannel<T>[] |
ChannelArrayFactory.createAny2One(int n)
Deprecated.
Creates a populated array of
n Any2One channels. |
static Any2OneChannel[] |
Channel.createAny2One(int n)
Deprecated.
Use the
Channel.any2oneArray(int) method instead. |
Any2OneChannel<T>[] |
StandardChannelFactory.createAny2One(int n)
Constructs and returns an array of
Any2OneChannel
objects. |
Modifier and Type | Method and Description |
---|---|
static <T> AltingChannelInput<T>[] |
Channel.getInputArray(Any2OneChannel<T>[] c)
This extracts the input-ends from the given channel array.
|
static <T> SharedChannelOutput<T>[] |
Channel.getOutputArray(Any2OneChannel<T>[] c)
This extracts the output-ends from the given channel array.
|
Constructor and Description |
---|
NetSharedAltingConnectionClient(Any2OneChannel synchChan,
NetAltingChannelInput fromServer,
NetChannelOutput openToServer,
NetChannelOutput reqToServer,
NetChannelOutput backToClient)
Constructor for NetSharedAltingConnectionClient.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FilteredAny2OneChannel
Interface for an Any2One channel that supports filtering operations at each end.
|
Modifier and Type | Method and Description |
---|---|
Any2OneChannel |
FilteredChannelFactory.createAny2One()
Creates a new Any2One channel with the filtering options set for this factory.
|
Any2OneChannel |
FilteredChannelFactory.createAny2One(ChannelDataStore buffer)
Creates a new Any2One channel with the filtering options set for this factory and the specified
data buffer.
|
Any2OneChannel[] |
FilteredChannelFactory.createAny2One(ChannelDataStore buffer,
int n)
Constructs and returns an array of
Any2OneChannel
objects with a given buffering behaviour. |
Any2OneChannel[] |
FilteredChannelFactory.createAny2One(int n)
Constructs and returns an array of
Any2OneChannel
objects. |
Copyright © 1996–2017. All rights reserved.