cz.cuni.amis.pogamut.udk.communication.translator.bot.state
Class VehicleListState
java.lang.Object
cz.cuni.amis.pogamut.udk.communication.translator.bot.support.AbstractBotFSMState<InfoMessage,CONTEXT>
cz.cuni.amis.pogamut.udk.communication.translator.bot.support.BotListState<Vehicle,TranslatorContext>
cz.cuni.amis.pogamut.udk.communication.translator.bot.state.VehicleListState
- All Implemented Interfaces:
- cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
public class VehicleListState
- extends BotListState<Vehicle,TranslatorContext>
Takes care of the vehicle list. It stores them inside a List object and when END message comes it sends
them to the world view via VehicleListObtained event.
Last state of the handshake - we switch from this state to the ConfigureMessageExpectedState.
- Author:
- Radek 'Black_Hand' Pibil
VehicleListState
public VehicleListState()
stateLeaving
public void stateLeaving(TranslatorContext context,
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
- Specified by:
stateLeaving
in interface cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateLeaving
in class BotListState<Vehicle,TranslatorContext>
stateSymbol
public void stateSymbol(TranslatorContext context,
InfoMessage symbol)
- Specified by:
stateSymbol
in interface cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateSymbol
in class BotListState<Vehicle,TranslatorContext>
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.