11 #ifndef _LINEPRESENCEMONITOR_H_ 12 #define _LINEPRESENCEMONITOR_H_ 17 #include <os/OsStatus.h> 18 #include <os/OsBSem.h> 19 #include <utl/UtlString.h> 20 #include <utl/UtlHashMap.h> 21 #include <net/StateChangeNotifier.h> 22 #include <net/SipDialogMonitor.h> 55 UtlString& domainName,
58 Url& remoteServerUrl);
68 virtual bool setStatus(
const Url& aor,
const Status value);
119 #endif // _LINEPRESENCEMONITOR_H_ The LinePresenceBase class provides a set of pure virtual interfaces which allow for the setting and ...
Definition: LinePresenceBase.h:30
OsBSem mLock
semaphore used to ensure that there is only one instance of this class
Definition: LinePresenceMonitor.h:105
SipSubscribeClient * mpSipSubscribeClient
Definition: LinePresenceMonitor.h:99
SipDialogMgr mDialogManager
Definition: LinePresenceMonitor.h:97
A LinePresenceMonitor is an object that is used in the ACD-like clients to receive the presence state...
Definition: LinePresenceMonitor.h:46
virtual bool setStatus(const Url &aor, const Status value)
Set the state value.
Definition: LinePresenceMonitor.cpp:125
virtual ~LinePresenceMonitor()
Destructor.
Definition: LinePresenceMonitor.cpp:87
UtlHashMap mSubscribeList
Definition: LinePresenceMonitor.h:103
OsStatus subscribe(LinePresenceBase *line)
Subscribe a line in the list.
Definition: LinePresenceMonitor.cpp:195
SipUserAgent * mpUserAgent
Definition: LinePresenceMonitor.h:90
UtlString mGroupName
Definition: LinePresenceMonitor.h:91
Url mRemoteServer
Definition: LinePresenceMonitor.h:101
SipPresenceMonitor * mpPresenceMonitor
Definition: LinePresenceMonitor.h:95
LinePresenceMonitor(int userAgentPort, UtlString &domainName, UtlString &groupName, bool local, Url &remoteServerUrl)
Constructor.
Definition: LinePresenceMonitor.cpp:34
LinePresenceMonitor & operator=(const LinePresenceMonitor &rhs)
Disabled assignment operator.
Definition: LinePresenceMonitor.cpp:118
SipRefreshManager * mpRefreshMgr
Definition: LinePresenceMonitor.h:98
A SipPresenceMonitor is an object that is used for keeping track of the SIP user agents' presence sta...
Definition: SipPresenceMonitor.h:52
OsStatus unsubscribe(LinePresenceBase *line)
Unsubscribe a line from the list.
Definition: LinePresenceMonitor.cpp:241
bool mLocal
Definition: LinePresenceMonitor.h:92
SipDialogMonitor * mpDialogMonitor
Definition: LinePresenceMonitor.h:94