Glossary:
com.pcbsys.nirvana.client.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.client.p2p.nServerService.nServerService.ServiceListener, com.pcbsys.nirvana.client.p2p.com.pcbsys.nirvana.client.p2p.nServiceFactory.nServiceFactory.ConnectionListener, com.pcbsys.nirvana.nAdminAPI.nLeafNode.nLeafNode.nChannelListener, and com.pcbsys.nirvana.nAdminAPI.nServiceNode.nServiceNode.Listener.
Public Member Functions | |
| void | delConnection (string connectionId) |
| This method is called asynchronously when a connection is removed from the nirvana channel. | |
| 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. | |
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.com.pcbsys.nirvana.client.nChannelConnectionListener.delConnection | ( | string | connectionId | ) |
This method is called asynchronously when a connection is removed from the nirvana channel.
- Parameters:
-
connectionId The channel connection's ID
| void com.pcbsys.nirvana.client.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:
-
connectionId The channel connection's ID subject A string representation of the subject associated with the channel connection filter A string representation of the filter associated with the channel connection protocol A string representation of the protocol (i.e. nsp, nhp, nsps or nhps) associated with the channel connection subscriberName If the connection is a named subscriber, this is the name associated with that subscription
