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

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

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.

struct stasis_forward* forward

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

Definition at line 59 of file stasis_state.c.

char* id

A unique id for this state object.

Definition at line 70 of file stasis_state.c.

Referenced by stasis_state_publisher_id(), and stasis_state_subscriber_id().

struct stasis_state_manager* manager

The manager that owns and handles this state.

Note
This reference is owned by stasis_state_proxy

Definition at line 57 of file stasis_state.c.

Referenced by stasis_state_manager_create().

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

unsigned int num_subscribers

The number of state subscribers

Definition at line 52 of file stasis_state.c.

Referenced by stasis_state_add_subscriber().

struct stasis_topic* topic

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