Asterisk - The Open Source Telephony Project GIT-master-f36a736
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. More...
 
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 { ... } 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

◆ 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: