Package | Description |
---|---|
org.jcsp.awt |
This provides CSP extensions for all AWT
Component components:
GUI events and widget configurations map to channel communications. |
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.net.cns |
This package contains the files specifically for the
JCSP.NET Channel Name Service (CNS).
|
org.jcsp.net.remote |
Supports the remote spawning of processes at other nodes.
|
org.jcsp.net2 | |
org.jcsp.net2.bns | |
org.jcsp.net2.tcpip | |
org.jcsp.plugNplay |
This provides an assortment of plug-and-play CSP components to wire together
(with Object-carrying wires) and reuse.
|
org.jcsp.plugNplay.ints |
This provides an assortment of plug-and-play CSP components to wire together
(with int-carrying wires) and reuse.
|
org.jcsp.test |
Modifier and Type | Class and Description |
---|---|
class |
ActiveApplet
java.applet.Applet
with a channel interface, specialising in the operation
of CSProcess networks as applets. |
class |
ActiveButton
java.awt.Button
with a channel interface. |
class |
ActiveButtonControl
This is a user-programmable finite state machine for
controlling an array of
ActiveButton s. |
class |
ActiveCanvas
java.awt.Canvas
with a channel interface. |
class |
ActiveCheckbox
java.awt.Checkbox
with a channel interface. |
class |
ActiveCheckboxMenuItem
java.awt.CheckboxMenuItem
with a channel interface. |
class |
ActiveChoice
java.awt.Choice
with a channel interface. |
class |
ActiveClosingFrame
A specialisation of
ActiveFrame that forces a System.exit
upon a Window Closing event. |
class |
ActiveComponent
java.awt.Component
with a channel interface. |
class |
ActiveContainer
java.awt.Container
with a channel interface. |
class |
ActiveDialog
java.awt.Dialog
with a channel interface. |
class |
ActiveFileDialog
java.awt.FileDialog
with a channel interface. |
class |
ActiveFrame
java.awt.Frame
with a channel interface. |
class |
ActiveLabel
java.awt.Label
with a channel interface. |
class |
ActiveList
java.awt.List
with a channel interface. |
class |
ActiveMenu
java.awt.Menu
with a channel interface. |
class |
ActiveMenuItem
java.awt.MenuItem
with a channel interface. |
class |
ActivePanel
java.awt.Panel
with a channel interface. |
class |
ActiveScrollbar
java.awt.Scrollbar
with a channel interface. |
class |
ActiveScrollPane
java.awt.ScrollPane
with a channel interface. |
class |
ActiveTextArea
java.awt.TextArea
with a channel interface. |
class |
ActiveTextEnterArea
A specialisation of
ActiveTextArea that writes text to
the event channel only when ESCAPE is pressed. |
class |
ActiveTextEnterField
A specialisation of
ActiveTextField that writes text to
the event channel only when ENTER or ESCAPE is pressed. |
class |
ActiveTextField
java.awt.TextField
with a channel interface. |
class |
ActiveWindow
java.awt.Window
with a channel interface. |
Modifier and Type | Method and Description |
---|---|
void |
ActiveApplet.setProcess(CSProcess process)
This must be called during the init() method for this ActiveApplet.
|
Modifier and Type | Class and Description |
---|---|
class |
Parallel
This process constructor taks an array of CSProcesses
and returns a CSProcess that is the parallel composition of
its process arguments.
|
class |
PriParallel
This is an extension of the
Parallel class that prioritises
the processes given to its control. |
class |
ProcessManager
This enables a
CSProcess to be spawned
concurrently with the process doing the spawning. |
class |
Sequence
This constructor taks an array of CSProcesses
and returns a CSProcess that is the sequential composition of
its process arguments.
|
class |
Skip
This is a process that immediately terminates and
a
Guard that is always ready. |
class |
Stop
This is a process that starts, engages in no events, performs no
computation but refuses to terminate.
|
Modifier and Type | Field and Description |
---|---|
protected CSProcess |
Any2AnyCallChannel.server
This holds a reference to a server process so that a client may
make the call.
|
protected CSProcess |
One2OneCallChannel.server
This holds a reference to a server process so that a client may
make the call.
|
protected CSProcess |
One2AnyCallChannel.server
This holds a reference to a server process so that a client may
make the call.
|
protected CSProcess |
Any2OneCallChannel.server
This holds a reference to a server process so that a client may
make the call.
|
Modifier and Type | Method and Description |
---|---|
int |
Any2AnyCallChannel.accept(CSProcess server)
This is invoked by a server when it commits to accepting a CALL
from a client.
|
int |
ChannelAccept.accept(CSProcess server)
This is invoked by a server when it commits to accepting a CALL
from a client.
|
int |
One2OneCallChannel.accept(CSProcess server)
This is invoked by a server when it commits to accepting a CALL
from a client.
|
int |
One2AnyCallChannel.accept(CSProcess server)
This is invoked by a server when it commits to accepting a CALL
from a client.
|
int |
Any2OneCallChannel.accept(CSProcess server)
This is invoked by a server when it commits to accepting a CALL
from a client.
|
void |
Parallel.addProcess(CSProcess process)
Add the process to the Parallel object.
|
void |
Sequence.addProcess(CSProcess process)
Add the process to the Sequence object.
|
void |
Parallel.addProcess(CSProcess[] newProcesses)
Add the array of processes to the Parallel object.
|
void |
Sequence.addProcess(CSProcess[] newProcesses)
Add the array of processes to the Sequence object.
|
void |
Parallel.insertProcessAt(CSProcess process,
int index)
Insert another process to the pri-parallel object at the specifed
index.
|
void |
PriParallel.insertProcessAt(CSProcess process,
int index)
Insert another process to the pri-parallel object at the specifed
index.
|
void |
Parallel.removeProcess(CSProcess process)
Remove the process from the Parallel object.
|
void |
Sequence.removeProcess(CSProcess process)
Remove a process from the Sequence object.
|
Constructor and Description |
---|
Parallel(CSProcess[] processes)
Construct a new Parallel object with the processes specified.
|
Parallel(CSProcess[][] processes)
Construct a new Parallel object with the processes specified.
|
PriParallel(CSProcess[] processes)
Construct a new PriParallel object with the processes specified.
|
ProcessManager(CSProcess proc) |
Sequence(CSProcess[] processes)
Construct a new Sequence object with the processes specified.
|
Modifier and Type | Class and Description |
---|---|
class |
Link
This class is an abstract class that all JCSP.NET protocol implementations
must implement.
|
Modifier and Type | Class and Description |
---|---|
class |
CNS
This class is the Channel Name Server's main server process class.
|
Modifier and Type | Class and Description |
---|---|
class |
RemoteProcess
A proxy process that runs locally while another process executes on a different node.
|
class |
SpawnerService
Services requests from
RemoteProcess proxies to start up child JVMs running the
actual processes. |
Modifier and Type | Method and Description |
---|---|
CSProcess |
RemoteProcessFailedException.getFailedProcess()
Returns the process that was running when the error occurred.
|
Constructor and Description |
---|
RemoteProcess(CSProcess process,
NodeAddressID remoteNode)
Constructs a new proxy.
|
RemoteProcess(CSProcess process,
NodeAddressID remoteNode,
NodeFactory factory)
Constructs a new proxy.
|
RemoteProcess(CSProcess process,
NodeAddressID remoteNode,
NodeFactory factory,
String classPath)
Constructs a new proxy.
|
RemoteProcess(CSProcess process,
NodeAddressID remoteNode,
String classPath)
Constructs a new proxy.
|
RemoteProcessFailedException(int ec,
CSProcess proc)
Constructs a new exception.
|
Modifier and Type | Class and Description |
---|---|
class |
LinkServer
Abstract class defining the LinkServer.
|
Modifier and Type | Class and Description |
---|---|
class |
BNS
This is the main process for the Barrier Name Server.
|
Modifier and Type | Class and Description |
---|---|
class |
TCPIPLink
A concrete implementation of a Link that operates over a TCP/IP based socket connection.
|
class |
TCPIPLinkServer
Concrete implementation of a LinkServer that listens on a TCP/IP based ServerSocket.
|
Modifier and Type | Class and Description |
---|---|
class |
And
Bitwise ands two Integer streams to one stream.
|
class |
BlackHole
Black holes anything sent to it.
|
class |
Delta
This process broadcasts objects arriving on its input channel in parallel
to its array of output channels.
|
class |
Delta2
This process broadcasts objects arriving on its input channel in parallel
to its two output channels.
|
class |
Demultiplex
This demultiplexes data from its input channel to its output channel array.
|
class |
Deparaplex
This demultiplexes data from its input channel to its output channel array.
|
class |
DynamicDelta
This process broadcasts objects arriving on its input channel in parallel
to its output channel array -- those output channels can be changed dynamically.
|
class |
Fibonacci
This generates the Fibonacci sequence on its output channel.
|
class |
FixedDelay
This process copies input to output, imposing a fixed time delay
between these events.
|
class |
FramedButton
A free-standing button process in its own frame, with configure and
event channels.
|
class |
FramedButtonArray
A free-standing array of button processes in their own frame,
with configure and event channels.
|
class |
FramedButtonGrid
A free-standing grid of button processes in their own frame,
with configure and event channels.
|
class |
FramedScrollbar
A free-standing scrollbar process in its own frame, with configure and
event channels.
|
class |
Generate
Generates an infinite (constant) sequence of Integers.
|
class |
Identity
This copies its input stream to its output stream unchanged.
|
class |
Integrate
This is a running-sum integrator of the Integers on its input stream
to its output stream.
|
class |
Merge
Merges an array of strictly increasing Integer input streams into one
strictly increasing output stream.
|
class |
Merge2
Merges two strictly increasing Integer input streams into one
strictly increasing output stream.
|
class |
Mult
Scales an Integer stream.
|
class |
Multiplex
Fair multiplexes its input Object stream array into one output stream
(carrying source channel and data pairs).
|
class |
Nand
Bitwise nands two Integer streams to one stream.
|
class |
Nor
Bitwise nors two Integer streams to one stream.
|
class |
Numbers
Plugs together a network of low-level stateless components
to generate the sequence of natural numbers.
|
class |
Or
Bitwise ors two Integer streams to one stream.
|
class |
Pairs
Generates sums of successive pairs of input Integers.
|
class |
Paraplex
Parallel multiplexes its input Object stream array on to one output stream.
|
class |
Plex
Fair multiplexes its input Object stream array into one output stream.
|
class |
Plex2
Fair multiplexes two Object streams into one.
|
class |
Plus
Sums two Integer streams to one stream.
|
class |
Prefix
Prefixes a user-supplied object to the Object stream
flowing through.
|
class |
Printer
Prints each Object from its input channel to a PrintStream.
|
class |
ProcessRead
Reads one Object from its input channel.
|
class |
ProcessWrite
Writes one Object to its output channel.
|
class |
Regular
This process generates a constant stream of Integers at a regular rate.
|
class |
Regulate
This process controls the rate of flow of traffic from its input to output channels.
|
class |
Sign
Converts each input Object to a String, prefixing it
with a user-defined sign.
|
class |
Squares
Generates the Integer stream 1*1, 2*2, 3*3, etc by a somewhat unusual route.
|
class |
Substitute
Substitutes a user-configured Object for each Object in the stream
flowing through.
|
class |
Successor
Adds one to each Integer in the stream flowing through.
|
class |
Tail
The output stream is the tail of its input stream.
|
class |
Times
Multiplies two Integer streams to one stream.
|
class |
Xor
Bitwise xors two Integer streams to one stream.
|
Modifier and Type | Class and Description |
---|---|
class |
AndInt
Bitwise ands two integer streams to one stream.
|
class |
BlackHoleInt
Black holes anything sent to it.
|
class |
Delta2Int
This process broadcasts integers arriving on its input channel in parallel
to its two output channels.
|
class |
DeltaInt
This process broadcasts integers arriving on its input channel in parallel
to its array of output channels.
|
class |
DemultiplexInt
This demultiplexes data from its input channel to its output channel array.
|
class |
DeparaplexInt
This demultiplexes data from its input channel to its output channel array.
|
class |
DynamicDeltaInt
This process broadcasts integers arriving on its input channel in parallel
to its output channel array -- those output channels can be changed dynamically.
|
class |
FibonacciInt
This generates the Fibonacci sequence on its output channel.
|
class |
FixedDelayInt
This holds on to data from its input channel for a fixed delay before passing
it on to its output channel.
|
class |
GenerateInt
Generates an infinite (constant) sequence of ints.
|
class |
IdentityInt
This copies its input stream to its output stream unchanged.
|
class |
IntegrateInt
This is a running-sum integrator of the ints on its input stream
to its output stream.
|
class |
Merge2Int
Merges two strictly increasing int input streams into one
strictly increasing output stream.
|
class |
MergeInt
Merges an array of strictly increasing int input streams into one
strictly increasing output stream.
|
class |
MultInt
Scales an integer stream.
|
class |
MultiplexInt
Fair multiplexes its input integer stream array into one output stream
(carrying source channel and data pairs).
|
class |
NandInt
Bitwise nands two integer streams to one stream.
|
class |
NorInt
Bitwise nors two integer streams to one stream.
|
class |
NumbersInt
Plugs together a network of low-level stateless components
to generate the sequence of natural numbers.
|
class |
OrInt
Bitwise ors two integer streams to one stream.
|
class |
PairsInt
Generates sums of successive pairs of input values.
|
class |
ParaplexInt
Parallel multiplexes its input integer stream array on to one output stream.
|
class |
Plex2Int
Fair multiplexes two integer streams into one.
|
class |
PlexInt
Fair multiplexes its input integer stream array into one output stream.
|
class |
PlusInt
Sums two integer streams to one stream.
|
class |
PrefixInt
Prefixes a user-supplied integer to the int stream
flowing through.
|
class |
PrinterInt
Prints each int from its input channel to a PrintStream.
|
class |
ProcessReadInt
Reads one int from its input channel.
|
class |
ProcessWriteInt
Writes one int to its output channel.
|
class |
RegularInt
This process generates a constant stream of Integers at a regular rate.
|
class |
RegulateInt
This process controls the rate of flow of traffic from its input to output channels.
|
class |
SignInt
Converts each input int to a String, prefixing it
with a user-defined sign.
|
class |
SquaresInt
Generates the integer stream 1*1, 2*2, 3*3, etc by a somewhat unusual route.
|
class |
SubstituteInt
Substitutes a user-configured constant for each integer in the stream
flowing through.
|
class |
SuccessorInt
Adds one to each integer in the stream flowing through.
|
class |
TailInt
The output stream is the tail of its input stream.
|
class |
TimesInt
Multiplies two integer streams to one stream.
|
class |
XorInt
Bitwise xors two integer streams to one stream.
|
Modifier and Type | Class and Description |
---|---|
class |
BarrierSyncer
A process that syncs on one alting barrier and finishes
|
class |
DelaySyncer |
class |
ExtendedReaderSync
A process that performs a set number of extended inputs, syncing on a barrier
as its extended action for each
|
class |
ExtendedReaderSyncInt
A process that performs a set number of extended inputs, syncing on a barrier
as its extended action for each
|
class |
WriterProcess
A process that writes out a list of values, synchronizing on the corresponding barrier after each.
|
class |
WriterProcessInt
A process that writes out a list of values, synchronizing on the corresponding barrier after each.
|
Copyright © 1996–2016. All rights reserved.