Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
stasis_app Struct Reference
Collaboration diagram for stasis_app:
Collaboration graph
[legend]

Data Fields

struct stasis_message_routerbridge_router
 
void * data
 
int debug
 
struct stasis_message_routerendpoint_router
 
struct ast_jsonevents_allowed
 
struct ast_jsonevents_disallowed
 
struct ao2_containerforwards
 
stasis_app_cb handler
 
char name []
 
struct stasis_message_routerrouter
 
enum stasis_app_subscription_model subscription_model
 
struct stasis_topictopic
 

Detailed Description

Definition at line 49 of file res/stasis/app.c.

Field Documentation

◆ bridge_router

struct stasis_message_router* bridge_router

Router for handling messages to the bridge all topic.

Definition at line 55 of file res/stasis/app.c.

Referenced by app_dtor(), and app_shutdown().

◆ data

void* data

◆ debug

int debug

Whether or not someone wants to see debug messages about this app

Definition at line 67 of file res/stasis/app.c.

Referenced by stasis_app_get_debug(), stasis_app_get_debug_by_name(), stasis_app_set_debug(), stasis_app_set_debug_by_name(), stasis_app_set_global_debug(), and stasis_app_to_cli().

◆ endpoint_router

struct stasis_message_router* endpoint_router

Optional router for handling endpoint messages in 'all' subscriptions

Definition at line 57 of file res/stasis/app.c.

Referenced by app_dtor(), app_shutdown(), and forwards_create_endpoint().

◆ events_allowed

struct ast_json* events_allowed

An array of allowed events types for this application

Definition at line 69 of file res/stasis/app.c.

Referenced by app_dtor(), app_events_allowed_set(), stasis_app_event_allowed(), and stasis_app_event_filter_to_json().

◆ events_disallowed

struct ast_json* events_disallowed

An array of disallowed events types for this application

Definition at line 71 of file res/stasis/app.c.

Referenced by app_dtor(), app_events_disallowed_set(), stasis_app_event_allowed(), and stasis_app_event_filter_to_json().

◆ forwards

struct ao2_container* forwards

◆ handler

stasis_app_cb handler

Callback function for this application.

Definition at line 61 of file res/stasis/app.c.

Referenced by app_create(), app_deactivate(), app_is_active(), app_is_finished(), app_send(), and app_update().

◆ name

char name[]

◆ router

struct stasis_message_router* router

Router for handling messages forwarded to topic.

Definition at line 53 of file res/stasis/app.c.

Referenced by app_dtor(), and app_shutdown().

◆ subscription_model

enum stasis_app_subscription_model subscription_model

Subscription model for the application

Definition at line 65 of file res/stasis/app.c.

Referenced by app_create(), and stasis_app_to_cli().

◆ topic

struct stasis_topic* topic

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