Package madkit.message.hook
package madkit.message.hook
Contains message classes useful for monitoring MaDKit kernel events. Especially, events such as message exchanges,
organizational events or agent life cycle events. See the
HookMessage
as the entry point
for using this feature.- Since:
- MaDKit 5.0.0.19
- Version:
- 0.9
- Author:
- Fabien Michel
-
ClassDescriptionA message which is sent to agents that have requested a hook on
HookMessage.AgentActionEvent.AGENT_STARTED
orHookMessage.AgentActionEvent.AGENT_TERMINATED
Root class of messages which are sent to agents that have requested hooks to the kernelThis message could be used to request a kernel's hook on agent actions so that the sender will be kept informed when an agent performed particular action.Enumeration representing agent actions that could be monitored using hooks.A message which is sent to agents that have requested a hook onHookMessage.AgentActionEvent.AGENT_STARTED
orHookMessage.AgentActionEvent.AGENT_TERMINATED
A message which is sent to agents that have requested a hook onHookMessage.AgentActionEvent.CREATE_GROUP
,HookMessage.AgentActionEvent.REQUEST_ROLE
,HookMessage.AgentActionEvent.LEAVE_GROUP
, orHookMessage.AgentActionEvent.LEAVE_ROLE