com::pcbsys::nirvana::client::nChannelWatcher Class Referenceabstract

This interface extends the nEventListener interface and also provides the ability to receive callbacks for purged events as well as events published on a specific channel or queue. More...

#include <nChannelWatcher.h>

Inheritance diagram for com::pcbsys::nirvana::client::nChannelWatcher:
com::pcbsys::nirvana::client::nEventListener

Public Member Functions

virtual void purge (longlong startEID, longlong endEID, std::string &filter)=0
 This method is called when events are purged from the channel or queue. More...
 
- Public Member Functions inherited from com::pcbsys::nirvana::client::nEventListener
virtual void go (nConsumeEvent *pEvt)=0
 This method is asynchronously called by the nirvana client API to deliver an event to a registered subscriber. More...
 

Detailed Description

This interface extends the nEventListener interface and also provides the ability to receive callbacks for purged events as well as events published on a specific channel or queue.

The purge callback is called when an event has been purged from the channel or queue.

Member Function Documentation

virtual void com::pcbsys::nirvana::client::nChannelWatcher::purge ( longlong  startEID,
longlong  endEID,
std::string &  filter 
)
pure virtual

This method is called when events are purged from the channel or queue.

Parameters
startEIDThe starting range of the purge event
endEIDThe ending range of the purge event
filterA filter if supplied