Asterisk - The Open Source Telephony Project  GIT-master-a24979a
Data Fields
stasis_subscription Struct Reference
Collaboration diagram for stasis_subscription:
Collaboration graph
[legend]

Data Fields

enum stasis_subscription_message_formatters accepted_formatters
 
struct {
   size_t   current
 
   char *   elems
 
   size_t   max
 
accepted_message_types
 
stasis_subscription_cb callback
 
void * data
 
enum stasis_subscription_message_filter filter
 
int final_message_processed
 
int final_message_rxed
 
ast_cond_t join_cond
 
struct ast_taskprocessormailbox
 
struct stasis_topictopic
 
char * uniqueid
 

Detailed Description

Definition at line 682 of file stasis.c.

Field Documentation

◆ accepted_formatters

enum stasis_subscription_message_formatters accepted_formatters

The message formatters this subscription is accepting

Definition at line 701 of file stasis.c.

Referenced by stasis_subscription_accept_formatters().

◆ 

struct { ... } accepted_message_types

The message types this subscription is accepting

Referenced by stasis_subscription_accept_message_type(), and stasis_subscription_decline_message_type().

◆ callback

Callback function for incoming message processing.

Definition at line 690 of file stasis.c.

Referenced by __stasis_subscribe(), __stasis_subscribe_pool(), and internal_stasis_subscribe().

◆ current

size_t current

Definition at line 704 of file stasis.c.

◆ data

void* data

Data pointer to be handed to the callback.

Definition at line 692 of file stasis.c.

Referenced by __stasis_subscribe(), __stasis_subscribe_pool(), internal_stasis_subscribe(), and sub_cleanup().

◆ elems

char* elems

Definition at line 704 of file stasis.c.

◆ filter

The message filter currently in use

Definition at line 701 of file stasis.c.

Referenced by stasis_subscription_accept_message_type(), and stasis_subscription_set_filter().

◆ final_message_processed

int final_message_processed

Flag set when final message for sub has been processed. Be sure join_lock is held before reading/setting.

Definition at line 701 of file stasis.c.

Referenced by stasis_subscription_join().

◆ final_message_rxed

int final_message_rxed

Flag set when final message for sub has been received. Be sure join_lock is held before reading/setting.

Definition at line 698 of file stasis.c.

Referenced by stasis_subscription_is_done().

◆ join_cond

ast_cond_t join_cond

Condition for joining with subscription.

Definition at line 695 of file stasis.c.

Referenced by stasis_subscription_join().

◆ mailbox

struct ast_taskprocessor* mailbox

Mailbox for processing incoming messages.

Definition at line 688 of file stasis.c.

Referenced by stasis_subscription_set_congestion_limits().

◆ max

size_t max

Definition at line 704 of file stasis.c.

◆ topic

struct stasis_topic* topic

◆ uniqueid

char* uniqueid

Unique ID for this subscription

Definition at line 684 of file stasis.c.


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