|
Yate
|
A SIP event as retrieved from engine. More...
#include <yatesip.h>
Public Member Functions | |
| SIPEvent (SIPMessage *message, SIPTransaction *transaction=0) | |
| SIPEngine * | getEngine () const |
| SIPMessage * | getMessage () const |
| SIPTransaction * | getTransaction () const |
| bool | isOutgoing () const |
| bool | isIncoming () const |
| SIPParty * | getParty () const |
| void * | getUserData () const |
| int | getState () const |
| bool | isActive () const |
Protected Attributes | |
| SIPMessage * | m_message |
| SIPTransaction * | m_transaction |
| int | m_state |
Friends | |
| class | SIPTransaction |
A SIP event as retrieved from engine.
This object is an event that will be taken from SIPEngine
Get the SIP engine this event belongs to, if any
| SIPMessage* getMessage | ( | ) | const [inline] |
Get the SIP message this event is supposed to handle
| int getState | ( | ) | const [inline] |
The state of the transaction when the event was generated
| SIPTransaction* getTransaction | ( | ) | const [inline] |
Get the SIP transaction that generated the event, if any
| void* getUserData | ( | ) | const [inline] |
Return the opaque user data stored in the transaction
| bool isActive | ( | ) | const [inline] |
Check if the transaction was active when the event was generated
| bool isIncoming | ( | ) | const [inline] |
Check if the message is an incoming message
| bool isOutgoing | ( | ) | const [inline] |
Check if the message is an outgoing message
References SIPTransaction::isOutgoing().
1.7.6.1