de.upb.swtpra05.group03.shuttle
Interface PluginMessengerInterface

All Known Implementing Classes:
PluginMessenger

public interface PluginMessengerInterface

Interface of a plugin messenger.

Version:
$Revision: 1.3 $

Method Summary
 void masterShuttleChanged(de.upb.swtpra.kernel.id.ID masterShuttle)
          Informs the plugin that the master shuttle changed.
 void repairShuttle(int value)
          Informs the plugin that the shuttle repaired
 void send()
          A call of this method will collect all data the plugin needs, converts it into a string and sends it to the plugin using a ShuttleAgentStatusMessage
 

Method Detail

masterShuttleChanged

public void masterShuttleChanged(de.upb.swtpra.kernel.id.ID masterShuttle)
Informs the plugin that the master shuttle changed.

Parameters:
masterShuttle - The new master shuttle id

send

public void send()
A call of this method will collect all data the plugin needs, converts it into a string and sends it to the plugin using a ShuttleAgentStatusMessage


repairShuttle

public void repairShuttle(int value)
Informs the plugin that the shuttle repaired

Parameters:
value - repair costs