ast_taskprocessor_listener Struct Reference

A listener for taskprocessors. More...

Collaboration diagram for ast_taskprocessor_listener:

Collaboration graph

Data Fields

struct ast_taskprocessortps
void * user_data

Detailed Description

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 98 of file taskprocessor.c.

Field Documentation

The callbacks the taskprocessor calls into to notify of state changes

Definition at line 100 of file taskprocessor.c.

Referenced by ast_taskprocessor_execute(), ast_taskprocessor_listener_alloc(), listener_shutdown(), taskprocessor_listener_dtor(), and taskprocessor_push().

struct ast_taskprocessor* tps [read]

The taskprocessor that the listener is listening to

Definition at line 102 of file taskprocessor.c.

Referenced by __allocate_taskprocessor(), ast_taskprocessor_listener_get_tps(), default_listener_shutdown(), default_tps_processing_function(), and listener_shutdown().

void* user_data

The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:35:42 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6