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

Package class diagram package IWorldMessageTranslator

public interface IWorldMessageTranslator

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

Author:
Jimmy

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.



Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.