com.ls.lars.communication
Interface IFromLars

All Known Implementing Classes:
com.ls.cockpit.CommandTemplate, LarsShutdown

public interface IFromLars

This interface is used to define methods which have to be implemented. This interface is required to communicate betweeen any platform (Applet, Java Application, etc.) and Lars system.

Version:
$Revision: 1.6 $
Author:
Last modified by $Author: MFehrenbach $

Method Summary
 boolean interpret(Message message)
          All messages coming from the server can be handled in the interpret method.
 

Method Detail

interpret

public boolean interpret(Message message)
All messages coming from the server can be handled in the interpret method. Programmer can create a loop like in AgentTemplate to handle all messages. In this method, only the asynchronously received messages are handled.
Parameters:
message - incomming message
Returns:
result of the operation: true, if the interpretation succeeded; false else