- com
- pcbsys
- nirvana
- nAdminAPI
- nChannelListener
receives callback each time a new connection is added to or deleted from the channel More...
#include <nChannelListener.h>
Public Member Functions | |
virtual void | delConnection (std::string connectionId) |
called when a connection is removed from the channel More... | |
nChannelListener (nLeafNode *pLeaf, nAPIConnectionListener *pList) | |
Constructs a new listener for the given channel. More... | |
virtual void | newConnection (std::string connectionId, std::string *pSubject, int nSubject, std::string filter, std::string protocol, std::string subscriberName) |
called when a new connection is added to the channel More... | |
receives callback each time a new connection is added to or deleted from the channel
com::pcbsys::nirvana::nAdminAPI::nChannelListener::nChannelListener | ( | nLeafNode * | pLeaf, |
nAPIConnectionListener * | pList | ||
) |
Constructs a new listener for the given channel.
*pLeaf | the leaf node to listen for connection changed on |
*pList |
|
virtual |
called when a connection is removed from the channel
connectionId | ID of the deleted connection |
Implements com::pcbsys::nirvana::client::nChannelConnectionListener.
|
virtual |
called when a new connection is added to the channel
connectionId | ID of the new connection |
*pSubject | user name for the connection |
filter | selector applied |
protocol | protocol used |
subscriberName | subscription name |
Implements com::pcbsys::nirvana::client::nChannelConnectionListener.