|
Asterisk - The Open Source Telephony Project GIT-master-5467495
|
An AMI event message. More...

Data Fields | |
| int | category |
| Category this event belongs to. | |
| int | event_name_hash |
| Hash of the name of the event. | |
| struct ast_str * | message |
| The contents of the AMI event message. | |
An AMI event message.
Events are created as reference counted immutable objects. Each active session that should receive the event is given a pointer to the event with a reference. Once the reference reaches 0 the event is destroyed. These events are stored in a vector on each session so that each session does not need to allocate a linked list wrapper for each event. Instead the vector grows as needed with excess each time to reduce the number of overall reallocations.
| int category |
Category this event belongs to.
Definition at line 142 of file manager.c.
Referenced by action_waitevent_http(), action_waitevent_tcp(), and process_events().
| int event_name_hash |
Hash of the name of the event.
Definition at line 144 of file manager.c.
Referenced by filter_cmp_fn(), and should_send_event().
The contents of the AMI event message.
Definition at line 146 of file manager.c.
Referenced by action_waitevent_http(), action_waitevent_tcp(), filter_cmp_fn(), process_events(), and should_send_event().