Uses of Interface
org.jcsp.lang.CSProcess
-
Packages that use CSProcess Package Description <Unnamed> org.jcsp.awt This provides CSP extensions for all AWTComponent
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.dynamic Supports dynamic operations over the JCSP.NET infrastructure.org.jcsp.net.remote Supports the remote spawning of processes at other nodes.org.jcsp.net.tcpip org.jcsp.net2 org.jcsp.net2.bns org.jcsp.net2.cns org.jcsp.net2.mobile 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 -
-
Uses of CSProcess in <Unnamed>
Classes in <Unnamed> that implement CSProcess Modifier and Type Class Description class
AltTest
Process Diagram -
Uses of CSProcess in org.jcsp.awt
Classes in org.jcsp.awt that implement CSProcess Modifier and Type Class Description class
ActiveApplet
java.applet.Applet
with a channel interface, specialising in the operation ofCSProcess
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 ofActiveButton
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 ofActiveFrame
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 ofActiveTextArea
that writes text to the event channel only when ESCAPE is pressed.class
ActiveTextEnterField
A specialisation ofActiveTextField
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.Fields in org.jcsp.awt declared as CSProcess Modifier and Type Field Description private CSProcess
ActiveApplet. process
The process defining the behaviour of this Applet.Methods in org.jcsp.awt with parameters of type CSProcess Modifier and Type Method Description void
ActiveApplet. setProcess(CSProcess process)
This must be called during the init() method for this ActiveApplet. -
Uses of CSProcess in org.jcsp.lang
Classes in org.jcsp.lang that implement CSProcess Modifier and Type Class Description (package private) class
CrewServer
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 theParallel
class that prioritises the processes given to its control.class
ProcessManager
This enables aCSProcess
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 aGuard
that is always ready.class
Stop
This is a process that starts, engages in no events, performs no computation but refuses to terminate.Fields in org.jcsp.lang declared as CSProcess Modifier and Type Field Description private CSProcess
ParThread. process
the process to be executedprivate CSProcess
ProcessManager. process
The CSProcess to be executed by this ProcessManagerprivate CSProcess[]
Parallel. processes
The processes to be executed in Parallelprivate CSProcess[]
Sequence. processes
The processes to be executed in sequenceprotected CSProcess
Any2AnyCallChannel. 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.protected CSProcess
One2AnyCallChannel. 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.Methods in org.jcsp.lang with parameters of type CSProcess Modifier and Type Method Description int
Any2AnyCallChannel. 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.int
ChannelAccept. 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
One2OneCallChannel. 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
Parallel. addProcess(CSProcess[] newProcesses)
Add the array of processes to the Parallel object.void
Sequence. addProcess(CSProcess process)
Add the process to the Sequence 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.void
ParThread. reset(CSProcess process, Barrier barrier)
reset the ParThread.Constructors in org.jcsp.lang with parameters of type CSProcess Constructor 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.Parallel(CSProcess[] processes, boolean priority)
Construct a new Parallel object with the processes specified.ParThread(CSProcess process, Barrier barrier)
Construct a new ParThread.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. -
Uses of CSProcess in org.jcsp.net
Classes in org.jcsp.net that implement CSProcess Modifier and Type Class Description class
Link
This class is an abstract class that all JCSP.NET protocol implementations must implement.(package private) class
LinkManager
This class manages the list of open links.(package private) class
LoopbackLink
private class
LoopbackLink.RxLoop
The process which recieves from the stream.private class
LoopbackLink.TxLoop
The process which does transmission to the stream.(package private) class
NetChannelInputProcess
A process for network input (RX). -
Uses of CSProcess in org.jcsp.net.cns
Classes in org.jcsp.net.cns that implement CSProcess Modifier and Type Class Description class
CNS
This class is the Channel Name Server's main server process class.private class
CNSService.ServiceProcess
The main process of the service. -
Uses of CSProcess in org.jcsp.net.dynamic
Classes in org.jcsp.net.dynamic that implement CSProcess Modifier and Type Class Description (package private) class
ClassManager
A process for retrieving and registering classes that cannot be found locally.(package private) class
JFTP
A server process for dispatching binary images of classes to nodes that do not hold suitable definitions locally.private class
JFTP.QueuedClassLoaderProcess
Child process spawned by therun()
method ofJFTP
to retrieve a class that has been queued for output to another node.private static class
NodeClassLoader.LoaderThread
Child process to communicate with the JFTP process, issuing requests to it and waiting for replies. -
Uses of CSProcess in org.jcsp.net.remote
Classes in org.jcsp.net.remote that implement CSProcess Modifier and Type Class Description (package private) class
ProcessSpawner
Launches a new JVM to run a process received by this spawner.class
RemoteProcess
A proxy process that runs locally while another process executes on a different node.class
SpawnerService
Services requests fromRemoteProcess
proxies to start up child JVMs running the actual processes.Fields in org.jcsp.net.remote declared as CSProcess Modifier and Type Field Description private CSProcess
ProcessSpawner. process
The process that needs to be started.private CSProcess
RemoteProcess. process
The process to be started at the remote end.private CSProcess
RemoteProcessFailedException. process
The offending process.CSProcess
SpawnerMessage. process
Methods in org.jcsp.net.remote that return CSProcess Modifier and Type Method Description CSProcess
RemoteProcessFailedException. getFailedProcess()
Returns the process that was running when the error occurred.Constructors in org.jcsp.net.remote with parameters of type CSProcess Constructor Description ProcessSpawner(SpawnerService service, CSProcess process, NetChannelOutput caller, NodeFactory factory, ApplicationID applicationID, int unique, java.lang.String classPath)
Constructs a new spawner.RemoteProcess(CSProcess process, NodeAddressID remoteNode)
Constructs a new proxy.RemoteProcess(CSProcess process, NodeAddressID remoteNode, java.lang.String classPath)
Constructs a new proxy.RemoteProcess(CSProcess process, NodeAddressID remoteNode, NodeFactory factory)
Constructs a new proxy.RemoteProcess(CSProcess process, NodeAddressID remoteNode, NodeFactory factory, java.lang.String classPath)
Constructs a new proxy.RemoteProcessFailedException(int ec, CSProcess proc)
Constructs a new exception.SpawnerMessage(CSProcess process, NetChannelLocation caller, NodeFactory factory, ApplicationID applicationID, java.lang.String classPath)
Constructs a new message. -
Uses of CSProcess in org.jcsp.net.tcpip
Classes in org.jcsp.net.tcpip that implement CSProcess Modifier and Type Class Description (package private) class
TCPIPLink
Implements a link running over TCP/IP sockets.private class
TCPIPLink.CreateRxStream
The process which creates rxStream.private class
TCPIPLink.CreateTxStream
The process which creates txStream.private class
TCPIPLink.RxId
The process which recieves the remote Id.private class
TCPIPLink.RxLoop
The process which recieves from a socket.private class
TCPIPLink.TxId
The process which sends our Id.private class
TCPIPLink.TxLoop
The process which does transmission to a socket.(package private) class
TCPIPLinkServer
A process to accept links to a ServerSocket, create appropriate TCPIPLink objects, and register them with the LinkManager. -
Uses of CSProcess in org.jcsp.net2
Classes in org.jcsp.net2 that implement CSProcess Modifier and Type Class Description class
Link
Abstract class representing a Link.(package private) class
Link.RxLoop
The RxLoop for the Link.(package private) class
Link.TxLoop
The TxLoop for the Link.class
LinkServer
Abstract class defining the LinkServer. -
Uses of CSProcess in org.jcsp.net2.bns
Classes in org.jcsp.net2.bns that implement CSProcess Modifier and Type Class Description class
BNS
This is the main process for the Barrier Name Server. -
Uses of CSProcess in org.jcsp.net2.cns
Classes in org.jcsp.net2.cns that implement CSProcess Modifier and Type Class Description class
CNS
This class is the Channel Name Server's main server process class. -
Uses of CSProcess in org.jcsp.net2.mobile
Classes in org.jcsp.net2.mobile that implement CSProcess Modifier and Type Class Description (package private) class
ClassManager
(package private) class
MessageBox
-
Uses of CSProcess in org.jcsp.net2.tcpip
Classes in org.jcsp.net2.tcpip that implement CSProcess Modifier and Type Class 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. -
Uses of CSProcess in org.jcsp.plugNplay
Classes in org.jcsp.plugNplay that implement CSProcess Modifier and Type Class 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. -
Uses of CSProcess in org.jcsp.plugNplay.ints
Classes in org.jcsp.plugNplay.ints that implement CSProcess Modifier and Type Class 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. -
Uses of CSProcess in org.jcsp.test
Classes in org.jcsp.test that implement CSProcess Modifier and Type Class Description class
BarrierSyncer
A process that syncs on one alting barrier and finishesclass
DelaySyncer
(package private) class
EventRecorder
A class that listens out for many guards, and records the order in which they occur Note: do not pass in channel guards, as the process will not perform the necessary input after the guard is selectedclass
ExtendedReaderSync
A process that performs a set number of extended inputs, syncing on a barrier as its extended action for eachclass
ExtendedReaderSyncInt
A process that performs a set number of extended inputs, syncing on a barrier as its extended action for eachclass
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.
-