com.pcbsys.nirvana.nAdminAPI.nClusterConnectionListener Interface Reference

Any class that implements this interface 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...

Public Member Functions

void add (nRealmNode realm, nConnectionDetails details)
 This method is asynchronously called when a connection is established with a realm in the cluster. More...
 
void del (nRealmNode realm, nConnectionDetails details)
 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 implements this interface 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

void com.pcbsys.nirvana.nAdminAPI.nClusterConnectionListener.add ( nRealmNode  realm,
nConnectionDetails  details 
)

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
void com.pcbsys.nirvana.nAdminAPI.nClusterConnectionListener.del ( nRealmNode  realm,
nConnectionDetails  details 
)

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