Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
stasis_app Struct Reference

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

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_create(), and app_shutdown().

void* data

Opaque data to hand to callback function.

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

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

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(), and stasis_app_to_cli().

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_shutdown(), and forwards_create_endpoint().

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 stasis_app_event_allowed(), and stasis_app_event_filter_to_json().

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 stasis_app_event_allowed(), and stasis_app_event_filter_to_json().

struct ao2_container* forwards
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().

char name[]
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_create(), and app_shutdown().

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().

struct stasis_topic* topic

Aggregation topic for this application.

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

Referenced by app_create(), ast_app_get_topic(), forwards_create_bridge(), forwards_create_channel(), and forwards_create_endpoint().


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