com.pcbsys.nirvana.nAdminAPI.nConnectionListener Interface Reference

Any class that implements this interface can be registered against a Nirvana Realm, Channel or Queue to receive notification when remote connections are made or dropped. More...

Inherited by com.pcbsys.nirvana.nAdminAPI.nClusterNode.ConnectionListener, and com.pcbsys.nirvana.nAdminAPI.nLeafNode.nChannelListener.

Public Member Functions

void add (nConnectionDetails details)
 This method is asynchronously called when a connection is established with a resource. More...
 
void del (nConnectionDetails details)
 This method is asynchronously called when the connection is lost or is no longer required. More...
 

Detailed Description

Any class that implements this interface can be registered against a Nirvana Realm, Channel or Queue to receive notification when remote connections are made or dropped.

Member Function Documentation

void com.pcbsys.nirvana.nAdminAPI.nConnectionListener.add ( nConnectionDetails  details)

This method is asynchronously called when a connection is established with a resource.

Parameters
detailsThe nConnectionDetails object that contains all the information about the connection added
See Also
nConnectionDetails
void com.pcbsys.nirvana.nAdminAPI.nConnectionListener.del ( nConnectionDetails  details)

This method is asynchronously called when the connection is lost or is no longer required.

Parameters
detailsThe nConnectionDetails object that contains all the information about the connection deleted
See Also
nConnectionDetails