A LinePresenceMonitor is an object that is used in the ACD-like clients to receive the presence state change notifitcation from the dialog/presence monitor. More...
#include <LinePresenceMonitor.h>


Public Member Functions | |
| LinePresenceMonitor (int userAgentPort, UtlString &domainName, UtlString &groupName, bool local, Url &remoteServerUrl) | |
| Constructor. More... | |
| virtual | ~LinePresenceMonitor () |
| Destructor. More... | |
| virtual bool | setStatus (const Url &aor, const Status value) |
| Set the state value. More... | |
| OsStatus | subscribe (LinePresenceBase *line) |
| Subscribe a line in the list. More... | |
| OsStatus | unsubscribe (LinePresenceBase *line) |
| Unsubscribe a line from the list. More... | |
| OsStatus | subscribe (UtlSList &list) |
| Subscribe a list. More... | |
| OsStatus | unsubscribe (UtlSList &list) |
| Unsubscribe a list. More... | |
Private Member Functions | |
| LinePresenceMonitor (const LinePresenceMonitor &rLinePresenceMonitor) | |
| Disabled copy constructor. More... | |
| LinePresenceMonitor & | operator= (const LinePresenceMonitor &rhs) |
| Disabled assignment operator. More... | |
Private Attributes | |
| SipUserAgent * | mpUserAgent |
| UtlString | mGroupName |
| bool | mLocal |
| SipDialogMonitor * | mpDialogMonitor |
| SipPresenceMonitor * | mpPresenceMonitor |
| SipDialogMgr | mDialogManager |
| SipRefreshManager * | mpRefreshMgr |
| SipSubscribeClient * | mpSipSubscribeClient |
| Url | mRemoteServer |
| UtlHashMap | mSubscribeList |
| OsBSem | mLock |
| semaphore used to ensure that there is only one instance of this class More... | |
A LinePresenceMonitor is an object that is used in the ACD-like clients to receive the presence state change notifitcation from the dialog/presence monitor.
It has an option to use either local or remote dialog/presence monitor. If using the remote monitor, subscription is sent out via XML-RPC.
This class is derived from StateChangeNotifier class.
| LinePresenceMonitor | ( | int | userAgentPort, |
| UtlString & | domainName, | ||
| UtlString & | groupName, | ||
| bool | local, | ||
| Url & | remoteServerUrl | ||
| ) |
Constructor.
remote server url
| userAgentPort | user agent port |
| domainName | sipX domain name |
| groupName | name of the group to be monitored |
| local | option for using local or remote monitor |
|
virtual |
Destructor.
|
private |
Disabled copy constructor.
|
private |
Disabled assignment operator.
|
virtual |
Set the state value.
| OsStatus subscribe | ( | LinePresenceBase * | line | ) |
Subscribe a line in the list.
| OsStatus subscribe | ( | UtlSList & | list | ) |
Subscribe a list.
| OsStatus unsubscribe | ( | LinePresenceBase * | line | ) |
Unsubscribe a line from the list.
| OsStatus unsubscribe | ( | UtlSList & | list | ) |
Unsubscribe a list.
|
private |
|
private |
|
private |
|
private |
semaphore used to ensure that there is only one instance of this class
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |