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.
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.

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:
details The nConnectionDetails object that contains all the information about the connection added
realm The 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:
details The nConnectionDetails object that contains all the information about the connection deleted
realm The nRealmNode object that the connection was lost from
See also:
com.pcbsys.nirvana.nAdminAPI.nConnectionDetails

com.pcbsys.nirvana.nAdminAPI.nRealmNode