|
Yate
|
Event class. More...
#include <yateiax.h>
Public Types | |
| enum | Type { DontSet = 0 , Invalid , Terminated , Timeout , NotImplemented , New , AuthReq , AuthRep , Accept , Hangup , Reject , Busy , Text , Dtmf , Noise , Answer , Quelch , Unquelch , Progressing , Ringing } |
Public Member Functions | |
| ~IAXEvent () | |
| Type | type () const |
| bool | local () const |
| bool | final () const |
| void | setFinal () |
| u_int8_t | frameType () |
| u_int32_t | subclass () |
| IAXEngine * | getEngine () const |
| IAXTransaction * | getTransaction () const |
| void * | getUserData () const |
| IAXIEList & | getList () |
Protected Member Functions | |
| IAXEvent (Type type, bool local, bool final, IAXTransaction *transaction, u_int8_t frameType=0, u_int32_t subclass=0) | |
| IAXEvent (Type type, bool local, bool final, IAXTransaction *transaction, IAXFullFrame *frame=0) | |
Friends | |
| class | IAXTransaction |
| class | IAXConnectionlessTransaction |
Event class.
This class holds an event generated by a transaction
| enum Type |
Event type as enumeration
| ~IAXEvent | ( | ) |
Destructor Dereferences the transaction possibly causing its destruction
|
protected |
Constructor
| type | Event type |
| local | Local flag |
| final | Final flag |
| transaction | IAX transaction that generated the event |
| frameType | The type of the frame that generated the event |
| subclass | The subclass of the frame that generated the event |
References frameType(), local(), subclass(), and type().
Referenced by IAXEvent().
|
protected |
Constructor
| type | Event type |
| local | Local flag |
| final | Final flag |
| transaction | IAX transaction that generated the event |
| frame | The frame that generated the event |
References IAXEvent(), local(), and type().
|
inline |
Check if this is a transaction finalization event
|
inline |
Get the type of the frame that generated the event If 0 (internal event), the event consumer must delete the event
Referenced by IAXEvent().
|
inline |
Get the IAX engine this event belongs to, if any
|
inline |
Get the IE list
|
inline |
Get the IAX transaction that generated the event, if any
|
inline |
Get the opaque user data stored in the transaction
|
inline |
Check if this is a locally generated event
Referenced by IAXEvent(), and IAXEvent().
|
inline |
Set the final flag.
|
inline |
Get the subclass of the frame that generated the event
Referenced by IAXEvent().
|
inline |
Get the type of this event
Referenced by IAXEvent(), and IAXEvent().