cz.cuni.amis.pogamut.ut2004.communication.translator.server.state
Class NavPointNeighboursState
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<NavPointNeighbourLink,TranslatorContext>
cz.cuni.amis.pogamut.ut2004.communication.translator.server.state.NavPointNeighboursState
- All Implemented Interfaces:
- IFSMState<InfoMessage,TranslatorContext>
public class NavPointNeighboursState
- extends ServerListState<NavPointNeighbourLink,TranslatorContext>
Takes care of the navpoint neighbour list. It stores them inside a List object and when END message comes it
stores them inside the context via context.setNeighbours() for the NavPointListState that will use
context.getNeighbours() to obtain them.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NavPointNeighboursState
public NavPointNeighboursState()
stateLeaving
public void stateLeaving(TranslatorContext translatorContext,
IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
- Specified by:
stateLeaving
in interface IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateLeaving
in class ServerListState<NavPointNeighbourLink,TranslatorContext>