Asterisk - The Open Source Telephony Project GIT-master-8f1982c
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
Data Fields
ari_ws_session Struct Reference

#include <ari_websockets.h>

Collaboration diagram for ari_ws_session:
Collaboration graph
[legend]

Data Fields

char * app_name
 
struct ast_websocketast_ws_session
 
struct {
   size_t   current
 
   struct ast_json **   elems
 
   size_t   max
 
message_queue
 
char session_id []
 
int(* validator )(struct ast_json *)
 
struct ao2_containerwebsocket_apps
 

Detailed Description

Definition at line 41 of file ari_websockets.h.

Field Documentation

◆ app_name

char* app_name

The name of the Stasis application.

Definition at line 47 of file ari_websockets.h.

Referenced by ari_ws_session_create(), ari_ws_session_dtor(), ari_ws_session_read(), and websocket_established_cb().

◆ ast_ws_session

struct ast_websocket* ast_ws_session

The parent websocket session.

Definition at line 42 of file ari_websockets.h.

Referenced by ari_websocket_send_event(), ari_ws_session_dtor(), ari_ws_session_read(), ari_ws_session_update(), and ari_ws_session_write().

◆ current

size_t current

Definition at line 46 of file ari_websockets.h.

◆ elems

struct ast_json* * elems

Definition at line 46 of file ari_websockets.h.

◆ max

size_t max

Definition at line 46 of file ari_websockets.h.

◆ 

struct { ... } message_queue

Container for holding delayed messages.

Referenced by ari_websocket_send_event(), ari_ws_session_create(), ari_ws_session_reset(), and ari_ws_session_update().

◆ session_id

char session_id[]

The id for the websocket session.

Definition at line 48 of file ari_websockets.h.

Referenced by ari_ws_session_create().

◆ validator

int(* validator) (struct ast_json *)

The message validator.

Definition at line 43 of file ari_websockets.h.

Referenced by ari_ws_session_create(), and ari_ws_session_write().

◆ websocket_apps

struct ao2_container* websocket_apps

List of Stasis apps registered to the websocket session.

Definition at line 44 of file ari_websockets.h.

Referenced by ari_websocket_send_event(), ari_ws_session_create(), and ari_ws_session_reset().


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