public class AgentLifeEvent extends HookMessage
HookMessage.AgentActionEvent.AGENT_STARTED
or HookMessage.AgentActionEvent.AGENT_TERMINATED
HookMessage.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
|
java.lang.String |
toString() |
getContent, max, min, sort
clone, getConversationID, getReceiver, getSender
public AgentLifeEvent(HookMessage.AgentActionEvent agentAction, AbstractAgent agent)
public AbstractAgent getSource()
public java.lang.String toString()
toString
in class ObjectMessage<HookMessage.AgentActionEvent>
Message.toString()
Fabien Michel, Olivier Gutknecht, Jacques Ferber - November 18 2014