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

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