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

Managed stasis state event interface. More...

#include <stasis_state.h>

Data Fields

void(* on_subscribe )(const char *id, struct stasis_state_subscriber *sub)
 Raised when any managed state is being subscribed. More...
 
void(* on_unsubscribe )(const char *id, struct stasis_state_subscriber *sub)
 Raised when any managed state is being unsubscribed. More...
 

Detailed Description

Managed stasis state event interface.

Definition at line 463 of file stasis_state.h.

Field Documentation

◆ on_subscribe

void(* on_subscribe) (const char *id, struct stasis_state_subscriber *sub)

Raised when any managed state is being subscribed.

Parameters
idThe unique id of the managed state
subThe subscriber subscribed

Definition at line 470 of file stasis_state.h.

◆ on_unsubscribe

void(* on_unsubscribe) (const char *id, struct stasis_state_subscriber *sub)

Raised when any managed state is being unsubscribed.

Parameters
idThe unique id of the managed state
subThe subscriber to unsubscribe

Definition at line 478 of file stasis_state.h.


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