jade.wrapper
Interface PlatformController.Listener

All Superinterfaces:
java.util.EventListener
Enclosing interface:
PlatformController

public static interface PlatformController.Listener
extends java.util.EventListener

Inner callback interface to receive platform events.


Method Summary
 void bornAgent(PlatformEvent anEvent)
          Called when an agent is born.
 void deadAgent(PlatformEvent anEvent)
          Called when an agent dies.
 void killedPlatform(PlatformEvent anEvent)
          Called when the platform is killed (destroyed).
 void resumedPlatform(PlatformEvent anEvent)
          Called when the platform is activated.
 void startedPlatform(PlatformEvent anEvent)
          Called when the platform is started.
 void suspendedPlatform(PlatformEvent anEvent)
          Called when the platform is suspended.
 

Method Detail

bornAgent

void bornAgent(PlatformEvent anEvent)
Called when an agent is born. EventObject source is AgentController.


deadAgent

void deadAgent(PlatformEvent anEvent)
Called when an agent dies. PlatformEvent source is AgentController.


startedPlatform

void startedPlatform(PlatformEvent anEvent)
Called when the platform is started. PlatformEvent source is PlatformController.


suspendedPlatform

void suspendedPlatform(PlatformEvent anEvent)
Called when the platform is suspended. PlatformEvent source is PlatformController.


resumedPlatform

void resumedPlatform(PlatformEvent anEvent)
Called when the platform is activated. PlatformEvent source is PlatformController.


killedPlatform

void killedPlatform(PlatformEvent anEvent)
Called when the platform is killed (destroyed). PlatformEvent source is PlatformController.



These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions