Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_sip_sched_task Struct Reference

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_taskprocessorserializer
 
ast_sip_task task
 
void * task_data
 
struct timeval when_queued
 

Detailed Description

Definition at line 41 of file pjsip_scheduler.c.

Field Documentation

int current_scheduler_id

ast_sched scheduler id

Definition at line 59 of file pjsip_scheduler.c.

Referenced by ast_sip_sched_task_cancel(), and ast_sip_schedule_task().

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(), and ast_sip_schedule_task().

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(), and ast_sip_schedule_task().

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(), and ast_sip_sched_task_get_times2().

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().

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(), and ast_sip_schedule_task().

char name[0]

A name to be associated with the task

Definition at line 67 of file pjsip_scheduler.c.

Referenced by PathSegment::__init__(), ast_sip_sched_task_cancel(), ast_sip_sched_task_get_name(), ast_sip_schedule_task(), and PathSegment::get_child().

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

times run

Definition at line 63 of file pjsip_scheduler.c.

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().

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().

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(), and ast_sip_schedule_task().


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