stasis_subscription Struct Reference

Collaboration diagram for stasis_subscription:

Collaboration graph
[legend]

Data Fields

stasis_subscription_cb callback
void * data
int final_message_processed
int final_message_rxed
ast_cond_t join_cond
struct ast_taskprocessormailbox
struct stasis_topictopic
char uniqueid [AST_UUID_STR_LEN]

Detailed Description

Definition at line 375 of file stasis.c.


Field Documentation

Callback function for incoming message processing.

Definition at line 383 of file stasis.c.

Referenced by subscription_invoke().

void* data

Data pointer to be handed to the callback.

Definition at line 385 of file stasis.c.

Referenced by subscription_invoke().

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

Definition at line 394 of file stasis.c.

Referenced by stasis_subscription_join(), and subscription_invoke().

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

Definition at line 391 of file stasis.c.

Referenced by stasis_subscription_is_done(), and subscription_invoke().

Condition for joining with subscription.

Definition at line 388 of file stasis.c.

Referenced by stasis_subscription_join(), subscription_dtor(), and subscription_invoke().

struct ast_taskprocessor* mailbox [read]

Mailbox for processing incoming messages.

Definition at line 381 of file stasis.c.

Referenced by dispatch_message(), stasis_unsubscribe(), and subscription_dtor().

struct stasis_topic* topic [read]

Topic subscribed to.

Definition at line 379 of file stasis.c.

Referenced by stasis_publish_sync(), stasis_subscription_is_subscribed(), stasis_unsubscribe(), and subscription_dtor().

char uniqueid[AST_UUID_STR_LEN]

Unique ID for this subscription

Definition at line 377 of file stasis.c.

Referenced by send_subscription_subscribe(), send_subscription_unsubscribe(), and stasis_subscription_uniqueid().


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

Generated on Thu Apr 16 06:37:45 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6