sipXcallLib home page


Public Member Functions | Private Member Functions | Private Attributes | List of all members
SipXMessageObserver Class Reference

Class that is an OsServerTask, and has a message queue that observes SIP messages. More...

#include <SipXMessageObserver.h>

Inheritance diagram for SipXMessageObserver:
Inheritance graph
[legend]
Collaboration diagram for SipXMessageObserver:
Collaboration graph
[legend]

Public Member Functions

 SipXMessageObserver (const SIPX_INST hInst)
 
virtual ~SipXMessageObserver (void)
 
UtlBoolean handleMessage (OsMsg &rMsg)
 Implementation of OsServerTask's pure virtual method. More...
 
void setTestResponseCode (int code)
 FOR TEST PURPOSES ONLY - a response code to send back to the client. More...
 

Private Member Functions

bool handleIncomingInfoMessage (SipMessage *pMessage)
 
bool handleIncomingInfoStatus (SipMessage *pMessage, int messageType)
 
bool handleStunOutcome (OsEventMsg *pMsg)
 

Private Attributes

int mTestResponseCode
 Special response code - for test purposes only. More...
 
SIPX_INST mhInst
 

Detailed Description

Class that is an OsServerTask, and has a message queue that observes SIP messages.

For example, it is used for looking for message responses, like the INFO response.

Constructor & Destructor Documentation

SipXMessageObserver ( const SIPX_INST  hInst)
~SipXMessageObserver ( void  )
virtual

Member Function Documentation

bool handleIncomingInfoMessage ( SipMessage *  pMessage)
private
bool handleIncomingInfoStatus ( SipMessage *  pMessage,
int  messageType 
)
private
UtlBoolean handleMessage ( OsMsg &  rMsg)

Implementation of OsServerTask's pure virtual method.

bool handleStunOutcome ( OsEventMsg *  pMsg)
private
void setTestResponseCode ( int  code)
inline

FOR TEST PURPOSES ONLY - a response code to send back to the client.

Member Data Documentation

SIPX_INST mhInst
private
int mTestResponseCode
private

Special response code - for test purposes only.