Packagecom.pcbsys.nirvana.client
Interfacepublic interface nChannelConnectionListener

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



Public Methods
 MethodDefined By
  
delConnection(connectionId:String):void
This method is called asynchronously when a connection is removed from the nirvana channel.
nChannelConnectionListener
  
newConnection(connectionId:String, subject:String, filter:String, protocol:String, subscriberName:String):void
This method is called asynchronously when a new connection is added to the nirvana channel.
nChannelConnectionListener
Method Detail
delConnection()method
public function delConnection(connectionId:String):void

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

Parameters
connectionId:String — The channel connection's ID

newConnection()method 
public function newConnection(connectionId:String, subject:String, filter:String, protocol:String, subscriberName:String):void

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

Parameters
connectionId:String — The channel connection's ID
 
subject:String — A string representation of the subject associated with the channel connection
 
filter:String — A string representation of the filter associated with the channel connection
 
protocol:String — A string representation of the protocol (i.e. nsp, nhp, nsps or nhps) associated with the channel connection
 
subscriberName:String — If the connection is a named subscriber, this is the name associated with that subscription