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

Asterisk external application transport structure to be "derived" by specific transport implementation types. More...

#include <transport.h>

Collaboration diagram for aeap_transport:
Collaboration graph
[legend]

Data Fields

unsigned int connected
 
ast_mutex_t read_lock
 
struct aeap_transport_vtablevtable
 
ast_mutex_t write_lock
 

Detailed Description

Asterisk external application transport structure to be "derived" by specific transport implementation types.

Transports are assumed to support simultaneous reading and writing, thus separate read and write locks. A transport type not supporting such can simply apply the opposing lock during a read or write, i.e. lock the write lock during a read and vice versa.

Definition at line 98 of file transport.h.

Field Documentation

◆ connected

unsigned int connected

Whether or not the transport is connected

Definition at line 102 of file transport.h.

Referenced by aeap_transport_connect(), aeap_transport_create(), aeap_transport_disconnect(), and aeap_transport_is_connected().

◆ read_lock

ast_mutex_t read_lock

◆ vtable

struct aeap_transport_vtable* vtable

◆ write_lock

ast_mutex_t write_lock

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