Asterisk - The Open Source Telephony Project GIT-master-27fb039
Loading...
Searching...
No Matches
Data Fields
stasis_state Struct Reference
Collaboration diagram for stasis_state:
Collaboration graph
[legend]

Data Fields

struct { 
 
   size_t   current 
 
   struct ast_eid *   elems 
 
   size_t   max 
 
eids 
 
struct stasis_forwardforward
 
char * id
 
struct stasis_state_managermanager
 The manager that owns and handles this state.
 
struct stasis_messagemsg
 
unsigned int num_subscribers
 
struct stasis_topictopic
 

Detailed Description

Definition at line 50 of file stasis_state.c.

Field Documentation

◆ current

size_t current

Definition at line 68 of file stasis_state.c.

◆ [struct]

struct { ... } eids

A container of eids. It's assumed that there is only a single publisher per eid per topic. Thus the publisher is tracked by the system's eid.

◆ elems

struct ast_eid* elems

Definition at line 68 of file stasis_state.c.

◆ forward

struct stasis_forward* forward

Forwarding information, i.e. this topic to manager's topic

Definition at line 59 of file stasis_state.c.

◆ id

char* id

A unique id for this state object.

Definition at line 70 of file stasis_state.c.

Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), Section::__lt__(), and stasis_state_publisher_id().

◆ manager

struct stasis_state_manager* manager

◆ max

size_t max

Definition at line 68 of file stasis_state.c.

◆ msg

struct stasis_message* msg

The actual state data

Definition at line 63 of file stasis_state.c.

Referenced by stasis_state_publish(), stasis_state_publish_by_id(), and stasis_state_remove_publish_by_id().

◆ num_subscribers

unsigned int num_subscribers

The number of state subscribers

Definition at line 52 of file stasis_state.c.

◆ topic

struct stasis_topic* topic

The managed topic

Definition at line 61 of file stasis_state.c.

Referenced by stasis_state_publish(), stasis_state_publisher_topic(), and stasis_state_topic().


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