Uses of Interface
org.jcsp.lang.CSProcess
-
Packages that use CSProcess Package Description <Unnamed> org.jcsp.awt This provides CSP extensions for all AWTComponentcomponents: 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 classAltTestProcess Diagram -
Uses of CSProcess in org.jcsp.awt
Classes in org.jcsp.awt that implement CSProcess Modifier and Type Class Description classActiveAppletjava.applet.Appletwith a channel interface, specialising in the operation ofCSProcessnetworks as applets.classActiveButtonjava.awt.Buttonwith a channel interface.classActiveButtonControlThis is a user-programmable finite state machine for controlling an array ofActiveButtons.classActiveCanvasjava.awt.Canvaswith a channel interface.classActiveCheckboxjava.awt.Checkboxwith a channel interface.classActiveCheckboxMenuItemjava.awt.CheckboxMenuItemwith a channel interface.classActiveChoicejava.awt.Choicewith a channel interface.classActiveClosingFrameA specialisation ofActiveFramethat forces a System.exit upon a Window Closing event.classActiveComponentjava.awt.Componentwith a channel interface.classActiveContainerjava.awt.Containerwith a channel interface.classActiveDialogjava.awt.Dialogwith a channel interface.classActiveFileDialogjava.awt.FileDialogwith a channel interface.classActiveFramejava.awt.Framewith a channel interface.classActiveLabeljava.awt.Labelwith a channel interface.classActiveListjava.awt.Listwith a channel interface.classActiveMenujava.awt.Menuwith a channel interface.classActiveMenuItemjava.awt.MenuItemwith a channel interface.classActivePaneljava.awt.Panelwith a channel interface.classActiveScrollbarjava.awt.Scrollbarwith a channel interface.classActiveScrollPanejava.awt.ScrollPanewith a channel interface.classActiveTextAreajava.awt.TextAreawith a channel interface.classActiveTextEnterAreaA specialisation ofActiveTextAreathat writes text to the event channel only when ESCAPE is pressed.classActiveTextEnterFieldA specialisation ofActiveTextFieldthat writes text to the event channel only when ENTER or ESCAPE is pressed.classActiveTextFieldjava.awt.TextFieldwith a channel interface.classActiveWindowjava.awt.Windowwith a channel interface.Fields in org.jcsp.awt declared as CSProcess Modifier and Type Field Description private CSProcessActiveApplet. processThe process defining the behaviour of this Applet.Methods in org.jcsp.awt with parameters of type CSProcess Modifier and Type Method Description voidActiveApplet. 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) classCrewServerclassParallelThis process constructor taks an array of CSProcesses and returns a CSProcess that is the parallel composition of its process arguments.classPriParallelThis is an extension of theParallelclass that prioritises the processes given to its control.classProcessManagerThis enables aCSProcessto be spawned concurrently with the process doing the spawning.classSequenceThis constructor taks an array of CSProcesses and returns a CSProcess that is the sequential composition of its process arguments.classSkipThis is a process that immediately terminates and aGuardthat is always ready.classStopThis 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 CSProcessParThread. processthe process to be executedprivate CSProcessProcessManager. processThe CSProcess to be executed by this ProcessManagerprivate CSProcess[]Parallel. processesThe processes to be executed in Parallelprivate CSProcess[]Sequence. processesThe processes to be executed in sequenceprotected CSProcessAny2AnyCallChannel. serverThis holds a reference to a server process so that a client may make the call.protected CSProcessAny2OneCallChannel. serverThis holds a reference to a server process so that a client may make the call.protected CSProcessOne2AnyCallChannel. serverThis holds a reference to a server process so that a client may make the call.protected CSProcessOne2OneCallChannel. serverThis 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 intAny2AnyCallChannel. accept(CSProcess server)This is invoked by a server when it commits to accepting a CALL from a client.intAny2OneCallChannel. accept(CSProcess server)This is invoked by a server when it commits to accepting a CALL from a client.intChannelAccept. accept(CSProcess server)This is invoked by a server when it commits to accepting a CALL from a client.intOne2AnyCallChannel. accept(CSProcess server)This is invoked by a server when it commits to accepting a CALL from a client.intOne2OneCallChannel. accept(CSProcess server)This is invoked by a server when it commits to accepting a CALL from a client.voidParallel. addProcess(CSProcess process)Add the process to the Parallel object.voidParallel. addProcess(CSProcess[] newProcesses)Add the array of processes to the Parallel object.voidSequence. addProcess(CSProcess process)Add the process to the Sequence object.voidSequence. addProcess(CSProcess[] newProcesses)Add the array of processes to the Sequence object.voidParallel. insertProcessAt(CSProcess process, int index)Insert another process to the pri-parallel object at the specifed index.voidPriParallel. insertProcessAt(CSProcess process, int index)Insert another process to the pri-parallel object at the specifed index.voidParallel. removeProcess(CSProcess process)Remove the process from the Parallel object.voidSequence. removeProcess(CSProcess process)Remove a process from the Sequence object.voidParThread. 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 classLinkThis class is an abstract class that all JCSP.NET protocol implementations must implement.(package private) classLinkManagerThis class manages the list of open links.(package private) classLoopbackLinkprivate classLoopbackLink.RxLoopThe process which recieves from the stream.private classLoopbackLink.TxLoopThe process which does transmission to the stream.(package private) classNetChannelInputProcessA 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 classCNSThis class is the Channel Name Server's main server process class.private classCNSService.ServiceProcessThe 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) classClassManagerA process for retrieving and registering classes that cannot be found locally.(package private) classJFTPA server process for dispatching binary images of classes to nodes that do not hold suitable definitions locally.private classJFTP.QueuedClassLoaderProcessChild process spawned by therun()method ofJFTPto retrieve a class that has been queued for output to another node.private static classNodeClassLoader.LoaderThreadChild 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) classProcessSpawnerLaunches a new JVM to run a process received by this spawner.classRemoteProcessA proxy process that runs locally while another process executes on a different node.classSpawnerServiceServices requests fromRemoteProcessproxies to start up child JVMs running the actual processes.Fields in org.jcsp.net.remote declared as CSProcess Modifier and Type Field Description private CSProcessProcessSpawner. processThe process that needs to be started.private CSProcessRemoteProcess. processThe process to be started at the remote end.private CSProcessRemoteProcessFailedException. processThe offending process.CSProcessSpawnerMessage. processMethods in org.jcsp.net.remote that return CSProcess Modifier and Type Method Description CSProcessRemoteProcessFailedException. 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) classTCPIPLinkImplements a link running over TCP/IP sockets.private classTCPIPLink.CreateRxStreamThe process which creates rxStream.private classTCPIPLink.CreateTxStreamThe process which creates txStream.private classTCPIPLink.RxIdThe process which recieves the remote Id.private classTCPIPLink.RxLoopThe process which recieves from a socket.private classTCPIPLink.TxIdThe process which sends our Id.private classTCPIPLink.TxLoopThe process which does transmission to a socket.(package private) classTCPIPLinkServerA 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 classLinkAbstract class representing a Link.(package private) classLink.RxLoopThe RxLoop for the Link.(package private) classLink.TxLoopThe TxLoop for the Link.classLinkServerAbstract 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 classBNSThis 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 classCNSThis 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) classClassManager(package private) classMessageBox -
Uses of CSProcess in org.jcsp.net2.tcpip
Classes in org.jcsp.net2.tcpip that implement CSProcess Modifier and Type Class Description classTCPIPLinkA concrete implementation of a Link that operates over a TCP/IP based socket connection.classTCPIPLinkServerConcrete 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 classAndBitwise ands two Integer streams to one stream.classBlackHoleBlack holes anything sent to it.classDeltaThis process broadcasts objects arriving on its input channel in parallel to its array of output channels.classDelta2This process broadcasts objects arriving on its input channel in parallel to its two output channels.classDemultiplexThis demultiplexes data from its input channel to its output channel array.classDeparaplexThis demultiplexes data from its input channel to its output channel array.classDynamicDeltaThis process broadcasts objects arriving on its input channel in parallel to its output channel array -- those output channels can be changed dynamically.classFibonacciThis generates the Fibonacci sequence on its output channel.classFixedDelayThis process copies input to output, imposing a fixed time delay between these events.classFramedButtonA free-standing button process in its own frame, with configure and event channels.classFramedButtonArrayA free-standing array of button processes in their own frame, with configure and event channels.classFramedButtonGridA free-standing grid of button processes in their own frame, with configure and event channels.classFramedScrollbarA free-standing scrollbar process in its own frame, with configure and event channels.classGenerateGenerates an infinite (constant) sequence of Integers.classIdentityThis copies its input stream to its output stream unchanged.classIntegrateThis is a running-sum integrator of the Integers on its input stream to its output stream.classMergeMerges an array of strictly increasing Integer input streams into one strictly increasing output stream.classMerge2Merges two strictly increasing Integer input streams into one strictly increasing output stream.classMultScales an Integer stream.classMultiplexFair multiplexes its input Object stream array into one output stream (carrying source channel and data pairs).classNandBitwise nands two Integer streams to one stream.classNorBitwise nors two Integer streams to one stream.classNumbersPlugs together a network of low-level stateless components to generate the sequence of natural numbers.classOrBitwise ors two Integer streams to one stream.classPairsGenerates sums of successive pairs of input Integers.classParaplexParallel multiplexes its input Object stream array on to one output stream.classPlexFair multiplexes its input Object stream array into one output stream.classPlex2Fair multiplexes two Object streams into one.classPlusSums two Integer streams to one stream.classPrefixPrefixes a user-supplied object to the Object stream flowing through.classPrinterPrints each Object from its input channel to a PrintStream.classProcessReadReads one Object from its input channel.classProcessWriteWrites one Object to its output channel.classRegularThis process generates a constant stream of Integers at a regular rate.classRegulateThis process controls the rate of flow of traffic from its input to output channels.classSignConverts each input Object to a String, prefixing it with a user-defined sign.classSquaresGenerates the Integer stream 1*1, 2*2, 3*3, etc by a somewhat unusual route.classSubstituteSubstitutes a user-configured Object for each Object in the stream flowing through.classSuccessorAdds one to each Integer in the stream flowing through.classTailThe output stream is the tail of its input stream.classTimesMultiplies two Integer streams to one stream.classXorBitwise 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 classAndIntBitwise ands two integer streams to one stream.classBlackHoleIntBlack holes anything sent to it.classDelta2IntThis process broadcasts integers arriving on its input channel in parallel to its two output channels.classDeltaIntThis process broadcasts integers arriving on its input channel in parallel to its array of output channels.classDemultiplexIntThis demultiplexes data from its input channel to its output channel array.classDeparaplexIntThis demultiplexes data from its input channel to its output channel array.classDynamicDeltaIntThis process broadcasts integers arriving on its input channel in parallel to its output channel array -- those output channels can be changed dynamically.classFibonacciIntThis generates the Fibonacci sequence on its output channel.classFixedDelayIntThis holds on to data from its input channel for a fixed delay before passing it on to its output channel.classGenerateIntGenerates an infinite (constant) sequence of ints.classIdentityIntThis copies its input stream to its output stream unchanged.classIntegrateIntThis is a running-sum integrator of the ints on its input stream to its output stream.classMerge2IntMerges two strictly increasing int input streams into one strictly increasing output stream.classMergeIntMerges an array of strictly increasing int input streams into one strictly increasing output stream.classMultIntScales an integer stream.classMultiplexIntFair multiplexes its input integer stream array into one output stream (carrying source channel and data pairs).classNandIntBitwise nands two integer streams to one stream.classNorIntBitwise nors two integer streams to one stream.classNumbersIntPlugs together a network of low-level stateless components to generate the sequence of natural numbers.classOrIntBitwise ors two integer streams to one stream.classPairsIntGenerates sums of successive pairs of input values.classParaplexIntParallel multiplexes its input integer stream array on to one output stream.classPlex2IntFair multiplexes two integer streams into one.classPlexIntFair multiplexes its input integer stream array into one output stream.classPlusIntSums two integer streams to one stream.classPrefixIntPrefixes a user-supplied integer to the int stream flowing through.classPrinterIntPrints each int from its input channel to a PrintStream.classProcessReadIntReads one int from its input channel.classProcessWriteIntWrites one int to its output channel.classRegularIntThis process generates a constant stream of Integers at a regular rate.classRegulateIntThis process controls the rate of flow of traffic from its input to output channels.classSignIntConverts each input int to a String, prefixing it with a user-defined sign.classSquaresIntGenerates the integer stream 1*1, 2*2, 3*3, etc by a somewhat unusual route.classSubstituteIntSubstitutes a user-configured constant for each integer in the stream flowing through.classSuccessorIntAdds one to each integer in the stream flowing through.classTailIntThe output stream is the tail of its input stream.classTimesIntMultiplies two integer streams to one stream.classXorIntBitwise 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 classBarrierSyncerA process that syncs on one alting barrier and finishesclassDelaySyncer(package private) classEventRecorderA 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 selectedclassExtendedReaderSyncA process that performs a set number of extended inputs, syncing on a barrier as its extended action for eachclassExtendedReaderSyncIntA process that performs a set number of extended inputs, syncing on a barrier as its extended action for eachclassWriterProcessA process that writes out a list of values, synchronizing on the corresponding barrier after each.classWriterProcessIntA process that writes out a list of values, synchronizing on the corresponding barrier after each.
-