cz.cuni.amis.pogamut.ut2004.communication.translator.shared.transition
Class ReadyRequestedTransition

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.translator.shared.transition.ReadyRequestedTransition
All Implemented Interfaces:
IFSMTransition<InfoMessage,TranslatorContext>

public class ReadyRequestedTransition
extends java.lang.Object
implements IFSMTransition<InfoMessage,TranslatorContext>


Constructor Summary
ReadyRequestedTransition()
           
 
Method Summary
 void init(TranslatorContext context)
          Called when the certain FSM (the transition belongs to) is created.
 void restart(TranslatorContext context)
          Called every time somebody restarts the FSM the transition belongs to.
 void stepped(TranslatorContext context, IFSMState<InfoMessage,TranslatorContext> fromState, InfoMessage bySymbol, IFSMState<InfoMessage,TranslatorContext> toState)
          Method that is called when the transition is triggered.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadyRequestedTransition

public ReadyRequestedTransition()
Method Detail

init

public void init(TranslatorContext context)
Description copied from interface: IFSMTransition
Called when the certain FSM (the transition belongs to) is created.

Specified by:
init in interface IFSMTransition<InfoMessage,TranslatorContext>

restart

public void restart(TranslatorContext context)
Description copied from interface: IFSMTransition
Called every time somebody restarts the FSM the transition belongs to.

Specified by:
restart in interface IFSMTransition<InfoMessage,TranslatorContext>

stepped

public void stepped(TranslatorContext context,
                    IFSMState<InfoMessage,TranslatorContext> fromState,
                    InfoMessage bySymbol,
                    IFSMState<InfoMessage,TranslatorContext> toState)
Description copied from interface: IFSMTransition
Method that is called when the transition is triggered.

Specified by:
stepped in interface IFSMTransition<InfoMessage,TranslatorContext>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object