jade.wrapper
Interface PlatformController.Listener

Enclosing class:
PlatformController

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


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

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

deadAgent

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

startedPlatform

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

suspendedPlatform

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

resumedPlatform

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

killedPlatform

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