Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_xmpp_client Struct Reference

XMPP Client Connection. More...

#include <xmpp.h>

Collaboration diagram for ast_xmpp_client:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct ao2_containerbuddies
 
struct stasis_subscriptiondevice_state_sub
 
struct ast_endpointendpoint
 
iksfilter * filter
 
iksid * jid
 
struct {
   struct ast_xmpp_message *   first
 
   struct ast_xmpp_message *   last
 
   ast_mutex_t   lock
 
messages
 
char mid [6]
 
struct stasis_subscriptionmwi_sub
 
const ast_string_field name
 
iksparser * parser
 
unsigned int reconnect:1
 
ikstack * stack
 
enum xmpp_state state
 
pthread_t thread
 
int timeout
 

Detailed Description

XMPP Client Connection.

Definition at line 119 of file xmpp.h.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 123 of file xmpp.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Name of the client configuration

Definition at line 123 of file xmpp.h.

◆ buddies

struct ao2_container* buddies

◆ device_state_sub

struct stasis_subscription* device_state_sub

If distributing event information the device state subscription

Definition at line 146 of file xmpp.h.

Referenced by ast_xmpp_client_disconnect(), cached_devstate_cb(), and xmpp_init_event_distribution().

◆ endpoint

struct ast_endpoint* endpoint

The endpoint associated with this client

Definition at line 148 of file xmpp.h.

Referenced by jingle_new(), xmpp_client_alloc(), xmpp_client_change_state(), and xmpp_client_destructor().

◆ filter

iksfilter* filter

◆ first

struct ast_xmpp_message* first

Definition at line 138 of file xmpp.h.

◆ jid

iksid* jid

◆ last

struct ast_xmpp_message* last

Definition at line 138 of file xmpp.h.

◆ lock

Definition at line 138 of file xmpp.h.

◆ 

struct { ... } messages

◆ mid

char mid[6]

◆ mwi_sub

struct stasis_subscription* mwi_sub

If distributing event information the MWI subscription

Definition at line 144 of file xmpp.h.

Referenced by ast_xmpp_client_disconnect(), and xmpp_init_event_distribution().

◆ name

const ast_string_field name

◆ parser

iksparser* parser

◆ reconnect

unsigned int reconnect

Reconnect this client

Definition at line 142 of file xmpp.h.

Referenced by xmpp_client_config_post_apply(), and xmpp_config_prelink().

◆ stack

ikstack* stack

◆ state

◆ thread

pthread_t thread

◆ timeout

int timeout

Definition at line 140 of file xmpp.h.

Referenced by xmpp_client_alloc(), xmpp_client_reconnect(), and xmpp_client_thread().


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