Package jade.wrapper
Interface PlatformController.Listener
-
- All Superinterfaces:
EventListener
- Enclosing interface:
- PlatformController
public static interface PlatformController.Listener extends EventListener
Inner callback interface to receive platform events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbornAgent(PlatformEvent anEvent)Called when an agent is born.voiddeadAgent(PlatformEvent anEvent)Called when an agent dies.voidkilledPlatform(PlatformEvent anEvent)Called when the platform is killed (destroyed).voidresumedPlatform(PlatformEvent anEvent)Called when the platform is activated.voidstartedPlatform(PlatformEvent anEvent)Called when the platform is started.voidsuspendedPlatform(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.
-
-