sipXcallLib home page


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

A PresenceDialInServer is an object that allows an extension to sign in and sign off to a ACD queue by simply using a feature code. More...

#include <PresenceDialInServer.h>

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

Public Member Functions

 PresenceDialInServer (CallManager *callMgr, UtlString &configFile)
 Constructor. More...
 
virtual ~PresenceDialInServer ()
 Destructor. More...
 
virtual UtlBoolean handleMessage (OsMsg &eventMessage)
 Handle an incoming message. More...
 
void addStateChangeNotifier (const char *fileUrl, StateChangeNotifier *notifier)
 Registered a StateChangeNotifier. More...
 
void removeStateChangeNotifier (const char *fileUrl)
 Unregistered a StateChangeNotifier. More...
 
- Public Member Functions inherited from TaoAdaptor
 TaoAdaptor (const UtlString &name="TaoAdaptor-%d", const int maxRequestQMsgs=DEF_MAX_MSGS)
 
 TaoAdaptor (const TaoAdaptor &rTaoAdaptor)
 
virtual ~TaoAdaptor ()
 
virtual void setListenerManager (TaoListenerManager *&rpListenerMgr)
 
virtual void parseMessage (TaoMessage &rMsg)
 
virtual OsStatus setErrno (int errno)
 

Protected Member Functions

void dumpTaoMessageArgs (unsigned char eventId, TaoString &args)
 

Private Member Functions

void parseConfig (UtlString &configFile)
 
bool notifyStateChange (UtlString &contact, bool signIn)
 

Private Attributes

CallManagermpCallManager
 
OsBSem mLock
 
UtlString mSignInFC
 
UtlString mSignOutFC
 Sign in feature code. More...
 
UtlString mSignInConfirmationAudio
 Sign out feature code. More...
 
UtlString mSignOutConfirmationAudio
 
UtlString mErrorAudio
 
OsMsgQ * mpIncomingQ
 
UtlHashMap mCalls
 
UtlHashMap mStateChangeNotifiers
 

Additional Inherited Members

- Protected Attributes inherited from TaoAdaptor
unsigned char mCmd
 
TaoObjHandle mMsgID
 
TaoObjHandle mObjId
 
TaoObjHandle mClientSocket
 
UtlString mArgList
 
int mArgCnt
 
TaoListenerManagermpListenerMgr
 

Detailed Description

A PresenceDialInServer is an object that allows an extension to sign in and sign off to a ACD queue by simply using a feature code.

Constructor & Destructor Documentation

PresenceDialInServer ( CallManager callMgr,
UtlString &  configFile 
)

Constructor.

~PresenceDialInServer ( )
virtual

Destructor.

Member Function Documentation

void addStateChangeNotifier ( const char *  fileUrl,
StateChangeNotifier *  notifier 
)

Registered a StateChangeNotifier.

void dumpTaoMessageArgs ( unsigned char  eventId,
TaoString args 
)
protected
UtlBoolean handleMessage ( OsMsg &  rMsg)
virtual

Handle an incoming message.

If the message is not one that the object is prepared to process, the handleMessage() method in the derived class should return FALSE which will cause the OsServerTask::handleMessage() method to be invoked on the message.

Reimplemented from TaoAdaptor.

bool notifyStateChange ( UtlString &  contact,
bool  signIn 
)
private
void parseConfig ( UtlString &  configFile)
private
void removeStateChangeNotifier ( const char *  fileUrl)

Unregistered a StateChangeNotifier.

Member Data Documentation

UtlHashMap mCalls
private
UtlString mErrorAudio
private
OsBSem mLock
private
CallManager* mpCallManager
private
OsMsgQ* mpIncomingQ
private
UtlString mSignInConfirmationAudio
private

Sign out feature code.

UtlString mSignInFC
private
UtlString mSignOutConfirmationAudio
private
UtlString mSignOutFC
private

Sign in feature code.

UtlHashMap mStateChangeNotifiers
private