Package madkit.message.hook
Class CGREvent
java.lang.Object
madkit.kernel.Message
madkit.message.ObjectMessage<HookMessage.AgentActionEvent>
madkit.message.hook.HookMessage
madkit.message.hook.CGREvent
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
MessageEvent
,OrganizationEvent
Root class of messages which are sent to agents that have requested hooks to the kernel
- Since:
- MadKit 5.0.0.19
- Version:
- 0.9
- Author:
- Fabien Michel
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class madkit.message.hook.HookMessage
HookMessage.AgentActionEvent
-
Method Summary
Modifier and TypeMethodDescriptionabstract AgentAddress
Returns the address of the agent that did the request.toString()
Methods inherited from class madkit.message.ObjectMessage
getContent, max, min, sort
Methods inherited from class madkit.kernel.Message
clone, getConversationID, getReceiver, getSender
-
Method Details
-
getSourceAgent
Returns the address of the agent that did the request.- Returns:
- the name of the agent that triggers the event
-
toString
- Overrides:
toString
in classObjectMessage<HookMessage.AgentActionEvent>
- See Also:
-