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
SIPEngine* getEngine | ( | ) | const [inline] |
Get the SIP engine this event belongs to, if any
SIPMessage* getMessage | ( | ) | const [inline] |
Get the SIP message this event is supposed to handle
SIPParty* getParty | ( | ) | const [inline] |
Get the pointer to the endpoint this event uses
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().