|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umn.cs.crisys.RSM
Title: RSML-e State Machine driver
Description: RSML-e State Machine driver
This is an abstract base class for RSML-e state machine implementations in Java. This class, provides basic type declarations for enumerations, messages and interfaces, declares three abstract protected methods init(), next() and end() that implementations must override in the dervied classes and finally, provides a driver for the state machine in the form of a static main() method so that this class can be executed by the JVM.
Copyright: Copyright (c) 2002 University of Minnesota
Inner Class Summary | |
static class |
RSM.Enum
Base class for RSML-e enumeration types. |
static class |
RSM.ReceiveInterface
RSML-e Receive Interfaces. |
static class |
RSM.SendInterface
RSML-e Send Interfaces. |
Constructor Summary | |
protected |
RSM()
Constructor. |
Method Summary | |
protected abstract void |
end()
State-machine termination. |
protected abstract void |
init()
State-machine initialization step. |
static void |
main(java.lang.String[] arg)
State-machine execution driver. |
protected abstract void |
next(java.lang.Object trigger)
State-machine next step computation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected RSM()
Method Detail |
protected abstract void init()
protected abstract void next(java.lang.Object trigger)
protected abstract void end()
public static void main(java.lang.String[] arg)
arg
- Name of the Java class implementing the state-machine.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |