Interface allowing client applications to receive cluster specific callbacks.
More...
#include <nClusterEventListener.h>
Interface allowing client applications to receive cluster specific callbacks.
virtual void com::pcbsys::nirvana::nAdminAPI::nClusterEventListener::memberAdded |
( |
nRealmNode * |
pNode | ) |
|
|
pure virtual |
Called with a new Nirvana Realm is added to the cluster.
- Parameters
-
pNode | *nRealmNode object of the added realm. |
virtual void com::pcbsys::nirvana::nAdminAPI::nClusterEventListener::memberDeleted |
( |
nRealmNode * |
pNode | ) |
|
|
pure virtual |
Called when a Nirvana Realm is deleted from the cluster.
- Parameters
-
pNode | *nRealmNode object of the deleted realm. |
virtual void com::pcbsys::nirvana::nAdminAPI::nClusterEventListener::quorumReached |
( |
nRealmNode * |
pMasterNode | ) |
|
|
pure virtual |
Called when the cluster achieves quorum.
- Parameters
-
pMasterNode | *nRealmNode of the master node for the cluster. |
virtual void com::pcbsys::nirvana::nAdminAPI::nClusterEventListener::report |
( |
const std::string & |
source, |
|
|
const std::string & |
message |
|
) |
| |
|
pure virtual |
Called when cluster log events are received.
- Parameters
-
source | Realm server where the log event came from. |
message | Cluster message text. |
virtual void com::pcbsys::nirvana::nAdminAPI::nClusterEventListener::stateChange |
( |
nRealmNode * |
pNode, |
|
|
const std::string & |
newState |
|
) |
| |
|
pure virtual |
Called when a member of the cluster changes state.
- Parameters
-
pNode | of the realm within the cluster. |
newState | new state that the node has achieved as a string. |
virtual void com::pcbsys::nirvana::nAdminAPI::nClusterEventListener::statusUpdate |
( |
nClusterStatus * |
pUpdate | ) |
|
|
pure virtual |
Called when a Cluster status has changed.
- Parameters
-
pUpdate | *nClusterStatus object containing the changes to the cluster. |