cz.cuni.amis.pogamut.ut2004.communication.translator.bot.state
Class PasswordState

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.translator.bot.support.AbstractBotFSMState<InfoMessage,TranslatorContext>
      extended by cz.cuni.amis.pogamut.ut2004.communication.translator.bot.state.PasswordState
All Implemented Interfaces:
IFSMState<InfoMessage,TranslatorContext>

public class PasswordState
extends AbstractBotFSMState<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.


Constructor Summary
PasswordState()
           
 
Method Summary
 void init(TranslatorContext context)
           
 void restart(TranslatorContext context)
           
 void stateEntering(TranslatorContext context, IFSMState<InfoMessage,TranslatorContext> fromState, InfoMessage symbol)
           
 void stateLeaving(TranslatorContext context, IFSMState<InfoMessage,TranslatorContext> toState, InfoMessage symbol)
           
 void stateSymbol(TranslatorContext context, InfoMessage symbol)
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.bot.support.AbstractBotFSMState
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordState

public PasswordState()
Method Detail

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)

stateSymbol

public void stateSymbol(TranslatorContext context,
                        InfoMessage symbol)