Asterisk - The Open Source Telephony Project
21.4.1
|
A listener for taskprocessors. More...
Data Fields | |
const struct ast_taskprocessor_listener_callbacks * | callbacks |
struct ast_taskprocessor * | tps |
void * | user_data |
A listener for taskprocessors.
When a taskprocessor's state changes, the listener is notified of the change. This allows for tasks to be addressed in whatever way is appropriate for the module using the taskprocessor.
Definition at line 110 of file taskprocessor.c.
const struct ast_taskprocessor_listener_callbacks* callbacks |
The callbacks the taskprocessor calls into to notify of state changes
Definition at line 112 of file taskprocessor.c.
Referenced by ast_taskprocessor_execute(), and ast_taskprocessor_listener_alloc().
struct ast_taskprocessor* tps |
The taskprocessor that the listener is listening to
Definition at line 114 of file taskprocessor.c.
Referenced by ast_taskprocessor_listener_get_tps(), and default_tps_processing_function().
void* user_data |
Data private to the listener
Definition at line 116 of file taskprocessor.c.
Referenced by ast_taskprocessor_listener_alloc(), ast_taskprocessor_listener_get_user_data(), and default_tps_processing_function().