cz.cuni.amis.pogamut.ut2004.communication.translator.server.state
Class PathAcceptState
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.AbstractServerFSMState<InfoMessage,CONTEXT>
cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.ServerListState<PathList,TranslatorContext>
cz.cuni.amis.pogamut.ut2004.communication.translator.server.state.PathAcceptState
- All Implemented Interfaces:
- cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
public class PathAcceptState
- extends ServerListState<PathList,TranslatorContext>
Takes care of the path list. It stores them inside a List object and when END message comes it sends
them to the world view via Path event.
- Author:
- Jimmy
PathAcceptState
public PathAcceptState()
stateEntering
public void stateEntering(TranslatorContext context,
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> fromState,
InfoMessage symbol)
- Specified by:
stateEntering in interface cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>- Overrides:
stateEntering in class ServerListState<PathList,TranslatorContext>
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 ServerListState<PathList,TranslatorContext>
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.