Asterisk - The Open Source Telephony Project
18.5.0
|
Structure representing a "virtual" SIP subscription. More...
Data Fields | |
struct ast_sip_pubsub_body_generator * | body_generator |
struct ao2_container * | datastores |
const struct ast_sip_subscription_handler * | handler |
struct sip_subscription_tree * | tree |
Structure representing a "virtual" SIP subscription.
This structure serves a dual purpose. Structurally, it is the constructed tree of subscriptions based on the resources being subscribed to. API-wise, this serves as the handle that subscription handlers use in order to interact with the pubsub API.
Definition at line 477 of file res_pjsip_pubsub.c.
struct ast_sip_pubsub_body_generator* body_generator |
Body generaator for NOTIFYs
Definition at line 485 of file res_pjsip_pubsub.c.
Referenced by ast_sip_subscription_get_body_subtype(), ast_sip_subscription_get_body_type(), and create_virtual_subscriptions().
struct ao2_container* datastores |
Subscription datastores set up by handlers
Definition at line 479 of file res_pjsip_pubsub.c.
Referenced by allocate_subscription(), ast_sip_subscription_add_datastore(), ast_sip_subscription_get_datastore(), ast_sip_subscription_get_datastores(), ast_sip_subscription_remove_datastore(), and destroy_subscription().
const struct ast_sip_subscription_handler* handler |
The handler for this subscription
Definition at line 481 of file res_pjsip_pubsub.c.
Referenced by allocate_subscription(), cli_list_subscriptions_detail(), cli_show_subscription_common(), cli_show_subscriptions_detail(), generate_initial_notify(), initial_notify_task(), pubsub_on_rx_notify(), shutdown_subscriptions(), and sip_subscription_to_ami().
struct sip_subscription_tree* tree |
Pointer to the base of the tree
Definition at line 483 of file res_pjsip_pubsub.c.
Referenced by allocate_subscription(), ast_sip_subscription_destroy(), ast_sip_subscription_get_dialog(), ast_sip_subscription_get_endpoint(), ast_sip_subscription_get_header(), ast_sip_subscription_get_remote_uri(), ast_sip_subscription_get_serializer(), ast_sip_subscription_notify(), ast_sip_subscription_set_persistence_data(), and destroy_subscription().