cz.cuni.amis.pogamut.ut2004.communication.translator.server.state
Class NavPointNeighboursState

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.AbstractServerFSMState<InfoMessage,CONTEXT>
      extended by cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.ServerListState<NavPointNeighbourLink,TranslatorContext>
          extended by 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.


Constructor Summary
NavPointNeighboursState()
           
 
Method Summary
 void stateLeaving(TranslatorContext translatorContext, IFSMState<InfoMessage,TranslatorContext> toState, InfoMessage symbol)
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.ServerListState
getList, init, innerStateSymbol, newList, restart, stateEntering
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.AbstractServerFSMState
stateSymbol, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavPointNeighboursState

public NavPointNeighboursState()
Method Detail

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>