|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.ericsson.eto.norarc.javaframe.State
The class for the singular States of the StateMachines.
Field Summary | |
CompositeState |
enclosingState
|
java.lang.String |
stateName
|
Constructor Summary | |
State()
State constructor with default name. |
|
State(java.lang.String sn)
State constructor with user supplied name. |
Method Summary | |
void |
enterState(StateMachine curfsm)
Changes the current State of the StateMachine to this singular State. |
protected void |
entry(StateMachine curfsm)
Will be executed every time this State is entered. |
protected void |
exit(StateMachine curfsm)
Will be executed every time this State is exited. |
void |
output(Message sig,
Mediator receiver,
StateMachine curfsm)
outputs a Message to a given (local) Mediator .
|
java.lang.String |
stateName()
The name of the this State. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public CompositeState enclosingState
public java.lang.String stateName
Constructor Detail |
public State(java.lang.String sn)
sn
- The name of this State.public State()
Method Detail |
public final java.lang.String stateName()
public final void output(Message sig, Mediator receiver, StateMachine curfsm)
Message
to a given (local) Mediator
.
The method is to be used within the method enterState(),
execTrans(), or outofInnerCompositeState().
sig
- The Message to be sent.receiver
- The Mediator that will receive (and forward) the Message.curfsm
- The StateMachine that is conceptually performing this operation.protected void entry(StateMachine curfsm)
protected void exit(StateMachine curfsm)
public void enterState(StateMachine curfsm)
curfsm
- The StateMachine that gets the new singular State.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |