public class HandshakeControllerState extends AbstractBotFSMState<InfoMessage,TranslatorContext>
As there is always: ... list ... END_MSG NEW_START_MSG ... list ... the problem lies withing END_MSG and NEW_START_MSG. On END_MSG we will switch to this state and on NEW_START_MSG we will switch to the state that will handle appropriate incoming list.
Constructor and Description |
---|
HandshakeControllerState() |
Modifier and Type | Method and Description |
---|---|
void |
init(TranslatorContext context) |
void |
restart(TranslatorContext context) |
void |
stateEntering(TranslatorContext context,
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> fromState,
InfoMessage symbol) |
void |
stateLeaving(TranslatorContext context,
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol) |
void |
stateSymbol(TranslatorContext context,
InfoMessage symbol) |
toString
public void init(TranslatorContext context)
public void restart(TranslatorContext context)
public void stateEntering(TranslatorContext context, cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> fromState, InfoMessage symbol)
public void stateLeaving(TranslatorContext context, cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState, InfoMessage symbol)
public void stateSymbol(TranslatorContext context, InfoMessage symbol)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.