public interface IMicroAgent
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
agentCreated()
Called once after agent creation.
|
IFuture<Void> |
agentKilled()
Called just before the agent is removed from the platform.
|
IFuture<Void> |
executeBody()
Called once after agent has been started.
|
void |
messageArrived(Map<String,Object> msg,
MessageType mt)
Called, whenever a message is received.
|
IFuture<Void> agentCreated()
void messageArrived(Map<String,Object> msg, MessageType mt)
msg
- The message map.mt
- The message type.Copyright © 2012. All Rights Reserved.