com::pcbsys::nirvana::nAdminAPI::nClusterConnectionListener Class Referenceabstract

Any class that extends this class can be registered against a Nirvana Cluster node to receive notification when remote connections are made or dropped on any of the cluster realm node objects. More...

#include <nClusterConnectionListener.h>

Public Member Functions

virtual void add (nRealmNode *pRealm, nConnectionDetails *pDetails)=0
 This method is asynchronously called when a connection is established with a realm in the cluster. More...
 
virtual void del (nRealmNode *pRealm, nConnectionDetails *pDetails)=0
 This method is asynchronously called when the connection is lost or is no longer required on a realm within a cluster. More...
 

Detailed Description

Any class that extends this class can be registered against a Nirvana Cluster node to receive notification when remote connections are made or dropped on any of the cluster realm node objects.

Member Function Documentation

virtual void com::pcbsys::nirvana::nAdminAPI::nClusterConnectionListener::add ( nRealmNode pRealm,
nConnectionDetails pDetails 
)
pure virtual

This method is asynchronously called when a connection is established with a realm in the cluster.

Parameters
detailsThe nConnectionDetails object that contains all the information about the connection added
realmThe nRealmNode object that the connection was made to
See Also
com.pcbsys.nirvana.nAdminAPI.nConnectionDetails
com.pcbsys.nirvana.nAdminAPI.nRealmNode
virtual void com::pcbsys::nirvana::nAdminAPI::nClusterConnectionListener::del ( nRealmNode pRealm,
nConnectionDetails pDetails 
)
pure virtual

This method is asynchronously called when the connection is lost or is no longer required on a realm within a cluster.

Parameters
detailsThe nConnectionDetails object that contains all the information about the connection deleted
realmThe nRealmNode object that the connection was lost from
See Also
com.pcbsys.nirvana.nAdminAPI.nConnectionDetails
com.pcbsys.nirvana.nAdminAPI.nRealmNode