- com
- pcbsys
- nirvana
- client
- nChannelConnectionListener
This interface should be implemented by classes wishing to register to receive callbacks when connections are added or removed to a nirvana channel. More...
#include <nChannelConnectionListener.h>
Public Member Functions | |
virtual void | delConnection (std::string connectionId)=0 |
This method is called asynchronously when a connection is removed from the nirvana channel. More... | |
virtual void | newConnection (std::string connectionId, std::string *pSubject, int nSubject, std::string filter, std::string protocol, std::string subscriberName)=0 |
This method is called asynchronously when a new connection is added to the nirvana channel. More... | |
This interface should be implemented by classes wishing to register to receive callbacks when connections are added or removed to a nirvana channel.
|
pure virtual |
This method is called asynchronously when a connection is removed from the nirvana channel.
connectionId | The channel connection's ID |
Implemented in com::pcbsys::nirvana::nAdminAPI::nChannelListener.
|
pure virtual |
This method is called asynchronously when a new connection is added to the nirvana channel.
connectionId | The channel connection's ID |
*pSubject | A string array of the subjects associated with the channel connection |
nSubject | The number of subjects |
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 |
Implemented in com::pcbsys::nirvana::nAdminAPI::nChannelListener.