# 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

- Related Packages
  Package
  Description
  madkit.message
  Contains subclasses of `Message` which could be easily reused.
- Class
  Description
  AgentLifeEvent
  A message which is sent to agents that have requested a hook on `HookMessage.AgentActionEvent.AGENT_STARTED` or `HookMessage.AgentActionEvent.AGENT_TERMINATED`
  CGREvent
  Root class of messages which are sent to agents that have requested hooks to the kernel
  HookMessage
  This 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.
  HookMessage.AgentActionEvent
  Enumeration representing agent actions that could be monitored using hooks.
  MessageEvent
  A message which is sent to agents that have requested a hook on `HookMessage.AgentActionEvent.AGENT_STARTED` or `HookMessage.AgentActionEvent.AGENT_TERMINATED`
  OrganizationEvent
  A message which is sent to agents that have requested a hook on `HookMessage.AgentActionEvent.CREATE_GROUP`, `HookMessage.AgentActionEvent.REQUEST_ROLE`, `HookMessage.AgentActionEvent.LEAVE_GROUP`, or `HookMessage.AgentActionEvent.LEAVE_ROLE`