GlobalObjects
|
Monitoring or notification mode of client logins and logouts. More...
Public Member Functions | |
CommunicatorClientNotifyModes (const CommunicatorCallBackIndex &rCommunicatorCallBackIndex) | |
virtual | ~CommunicatorClientNotifyModes () |
virtual bool | hasWatches () const |
void | setWatch (TdWatchNotifyMode tdWatchNotifyMode) |
int | unsetWatch (TdWatchNotifyMode tdWatchNotifyMode, bool bSimulate=false) |
Public Member Functions inherited from glo::WatchNotifyManager::CommunicatorNotifyModes | |
CommunicatorNotifyModes (const CommunicatorCallBackIndex &rCommunicatorCallBackIndex) | |
virtual | ~CommunicatorNotifyModes () |
NUM_PTR | getCallBackIndex () |
Communicator * | getCommunicator () |
WatchNotifyManager::CommunicatorCallBackIndex & | getCommunicatorCallBackIndex () |
Protected Member Functions | |
CommunicatorClientNotifyModes () | |
Protected Member Functions inherited from glo::WatchNotifyManager::CommunicatorNotifyModes | |
CommunicatorNotifyModes () | |
Private Attributes | |
int | m_iWNM_CLIENT_CLOSE_BASE |
int | m_iWNM_CLIENT_CONNECT_SERVER |
int | m_iWNM_CLIENT_DISCONNECT_SERVER |
int | m_iWNM_CLIENT_OPEN_BASE |
Monitoring or notification mode of client logins and logouts.
|
protected |
The standard constructor is not available.
glo::WatchNotifyManager::CommunicatorClientNotifyModes::CommunicatorClientNotifyModes | ( | const CommunicatorCallBackIndex & | rCommunicatorCallBackIndex | ) |
Constructor with parameter passing.
[in] | rCommunicatorCallBackIndex | The client communicator CallBackIndex. |
|
virtual |
Destructor.
|
virtual |
Checks whether monitoring is set.
Implements glo::WatchNotifyManager::CommunicatorNotifyModes.
void glo::WatchNotifyManager::CommunicatorClientNotifyModes::setWatch | ( | TdWatchNotifyMode | tdWatchNotifyMode | ) |
Registers a monitoring for a client login.
[in] | tdWatchNotifyMode | The monitoring mode to register for the client. |
int glo::WatchNotifyManager::CommunicatorClientNotifyModes::unsetWatch | ( | TdWatchNotifyMode | tdWatchNotifyMode, |
bool | bSimulate = false ) |
Deregisters a monitoring for a client login.
[in] | tdWatchNotifyMode | The watch mode to be unregistered for the client. |
[in] | bSimulate | If true, only simulation is performed, no value is set, but a result or error is returned. |
|
private |
Client database close monitoring counter.
|
private |
Client logon watchdog counter.
|
private |
Client logoff watchdog counter.
|
private |
Client Database open monitoring counter.