|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcsp.nxt.lang.Guard
org.jcsp.nxt.lang.Skip
public class Skip
This is a process that immediately terminates and
a Guard that is always ready.
Guard in
an Alternative
that is always ready.
Note: the process form is included for completeness -- it is one of the fundamental primitives of CSP.
org.jcsp.lang.Stop| Constructor Summary | |
|---|---|
Skip()
|
|
| Method Summary | |
|---|---|
(package private) boolean |
disable()
Disables this guard. |
(package private) boolean |
enable(Alternative alt)
Enables this guard. |
void |
run()
The main body of this process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Skip()
| Method Detail |
|---|
boolean enable(Alternative alt)
enable in class Guardalt - the Alternative doing the enabling.
boolean disable()
disable in class Guardpublic void run()
run in interface CSProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||