This is the super-class for all Alternative events selectable by a process.
Note: for those familiar with the occam multiprocessing language, classes implementing Guard correspond to process guards for use within ALT constructs.
Type | Name and description |
---|---|
protected void |
schedule(Alternative alt) Schedules the process performing the given Alternative to run again. |
Schedules the process performing the given Alternative to run again. This is intended for use by advanced users of the library who want to create their own Guards that are not in the org.jcsp.lang package.
alt
- The Alternative to schedule