Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
|
Data Fields | |
int | current_scheduler_id |
enum ast_sip_scheduler_task_flags | flags |
int | interval |
int | is_running |
struct timeval | last_end |
struct timeval | last_start |
char | name [0] |
struct timeval | next_periodic |
int | run_count |
struct ast_taskprocessor * | serializer |
ast_sip_task | task |
void * | task_data |
struct timeval | when_queued |
Definition at line 41 of file pjsip_scheduler.c.
int current_scheduler_id |
ast_sched scheduler id
Definition at line 59 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_task_cancel(), ast_sip_schedule_task(), and push_to_serializer().
enum ast_sip_scheduler_task_flags flags |
the task reschedule, cleanup and policy flags
Definition at line 65 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_task_cancel(), ast_sip_sched_task_get_times2(), ast_sip_schedule_task(), cli_show_tasks(), push_to_serializer(), and schtd_dtor().
int interval |
reschedule interval in milliseconds
Definition at line 57 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_task_cancel(), ast_sip_sched_task_get_times2(), ast_sip_sched_task_get_times_by_name2(), ast_sip_schedule_task(), cli_show_tasks(), and push_to_serializer().
int is_running |
task is currently running
Definition at line 61 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_is_task_running(), ast_sip_sched_is_task_running_by_name(), ast_sip_sched_task_get_times2(), and cli_show_tasks().
struct timeval last_end |
the last time the task was ended
Definition at line 53 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_task_get_times2(), ast_sip_sched_task_get_times_by_name(), and ast_sip_sched_task_get_times_by_name2().
struct timeval last_start |
the last time the task was started
Definition at line 51 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_task_get_times2(), ast_sip_sched_task_get_times_by_name(), ast_sip_sched_task_get_times_by_name2(), ast_sip_schedule_task(), and cli_show_tasks().
char name[0] |
A name to be associated with the task
Definition at line 67 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_task_cancel(), ast_sip_sched_task_get_name(), ast_sip_schedule_task(), cli_show_tasks(), PathSegment::get_child(), Parameter::load(), Property::load(), SwaggerType::load(), push_to_serializer(), and schtd_dtor().
struct timeval next_periodic |
When the periodic task is next expected to run
Definition at line 55 of file pjsip_scheduler.c.
Referenced by ast_sip_schedule_task().
int run_count |
struct ast_taskprocessor* serializer |
The serializer to be used (if any) (Holds a ref)
Definition at line 43 of file pjsip_scheduler.c.
Referenced by ast_sip_schedule_task(), push_to_serializer(), and schtd_dtor().
ast_sip_task task |
task function
Definition at line 47 of file pjsip_scheduler.c.
Referenced by ast_sip_schedule_task().
void* task_data |
task data
Definition at line 45 of file pjsip_scheduler.c.
Referenced by ast_sip_schedule_task(), and schtd_dtor().
struct timeval when_queued |
the time the task was originally scheduled/queued
Definition at line 49 of file pjsip_scheduler.c.
Referenced by ast_sip_sched_task_get_times2(), ast_sip_schedule_task(), and cli_show_tasks().