# Package madkit.message.hook

Contains message classes useful for monitoring MaDKit kernel events.

See: Description

- Class Summary
  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.
  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`

- Enum Summary
  Enum | Description
  --- | ---
  HookMessage.AgentActionEvent | Enumeration representing agent actions that could be monitored using hooks.

## Package madkit.message.hook Description

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

Fabien Michel, Olivier Gutknecht, Jacques Ferber - February 17 2020