cz.cuni.amis.pogamut.ut2004.communication.translator.observer.state
Class PasswordState
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.translator.observer.support.AbstractObserverFSMState<InfoMessage,TranslatorContext>
cz.cuni.amis.pogamut.ut2004.communication.translator.observer.state.PasswordState
- All Implemented Interfaces:
- IFSMState<InfoMessage,TranslatorContext>
public class PasswordState
- extends AbstractObserverFSMState<InfoMessage,TranslatorContext>
Entered by the Password message that is sent to the world view, the state then wait for PasswdOk or PasswdWrong
message to came.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PasswordState
public PasswordState()
init
public void init(TranslatorContext context)
restart
public void restart(TranslatorContext context)
stateEntering
public void stateEntering(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> fromState,
InfoMessage symbol)
stateLeaving
public void stateLeaving(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
innerStateSymbol
protected void innerStateSymbol(TranslatorContext context,
InfoMessage symbol)
- Specified by:
innerStateSymbol
in class AbstractObserverFSMState<InfoMessage,TranslatorContext>