public class AgentLifeEvent extends HookMessage
HookMessage.AgentActionEvent.AGENT_STARTED or HookMessage.AgentActionEvent.AGENT_TERMINATEDHookMessage.AgentActionEvent| Constructor and Description |
|---|
AgentLifeEvent(HookMessage.AgentActionEvent agentAction,
AbstractAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
AbstractAgent |
getSource()
The agent which is related to this event
|
String |
toString() |
getContent, max, min, sortclone, getConversationID, getReceiver, getSenderpublic AgentLifeEvent(HookMessage.AgentActionEvent agentAction, AbstractAgent agent)
public AbstractAgent getSource()
public String toString()
toString in class ObjectMessage<HookMessage.AgentActionEvent>Message.toString()
Fabien Michel, Olivier Gutknecht, Jacques Ferber - March 9 2017