cz.cuni.amis.pogamut.base.communication.translator
Interface IWorldMessageTranslator

All Known Implementing Classes:
BotFSM, ObserverFSM, ServerFSM

public interface IWorldMessageTranslator

This is handler for messages that should produce IWorldChangeEvent(s) out of messages we receive from the world.


Method Summary
 IWorldChangeEvent[] processMessage(InfoMessage message)
          The handler must process the message and return 0,1 or more world events.
 void reset()
          Reinitialize the translator.
 

Method Detail

processMessage

IWorldChangeEvent[] processMessage(InfoMessage message)
                                   throws TranslatorException,
                                          ComponentNotRunningException,
                                          ComponentPausedException
The handler must process the message and return 0,1 or more world events.

Parameters:
message -
Returns:
Throws:
TranslatorException
ComponentNotRunningException
ComponentPausedException

reset

void reset()
Reinitialize the translator.