com.pcbsys.nirvana.client.nChannelConnectionListener Interface Reference

This interface should be implemented by classes wishing to register to receive callbacks when connections are added or removed to a nirvana channel. More...

Inherited by com.pcbsys.nirvana.nAdminAPI.nLeafNode.nChannelListener.

Public Member Functions

void delConnection (String connectionId)
 This method is called asynchronously when a connection is removed from the nirvana channel. More...
 
void newConnection (String connectionId, String[] subject, String filter, String protocol, String subscriberName, String javaVersion, String OSVersion, String OSName, String buildName, String buildDate, boolean isMulticastEnabled, boolean requirePriorityConnection)
 This method is called asynchronously when a new connection is added to the nirvana channel. More...
 

Detailed Description

This interface should be implemented by classes wishing to register to receive callbacks when connections are added or removed to a nirvana channel.

Member Function Documentation

void com.pcbsys.nirvana.client.nChannelConnectionListener.delConnection ( String  connectionId)

This method is called asynchronously when a connection is removed from the nirvana channel.

Parameters
connectionIdThe channel connection's ID
void com.pcbsys.nirvana.client.nChannelConnectionListener.newConnection ( String  connectionId,
String[]  subject,
String  filter,
String  protocol,
String  subscriberName,
String  javaVersion,
String  OSVersion,
String  OSName,
String  buildName,
String  buildDate,
boolean  isMulticastEnabled,
boolean  requirePriorityConnection 
)

This method is called asynchronously when a new connection is added to the nirvana channel.

Parameters
connectionIdThe channel connection's ID
subjectA string representation of the subject associated with the channel connection
filterA string representation of the filter associated with the channel connection
protocolA string representation of the protocol (i.e. nsp, nhp, nsps or nhps) associated with the channel connection
subscriberNameIf the connection is a named subscriber, this is the name associated with that subscription