com::pcbsys::nirvana::client::nQueueAsyncReader Class Reference

This Reader enables the client to receive all events asynchronously. More...

#include <nQueueAsyncReader.h>

Inheritance diagram for com::pcbsys::nirvana::client::nQueueAsyncReader:
com::pcbsys::nirvana::client::nQueueReader com::pcbsys::nirvana::client::nQueueAsyncTransactionReader

Public Member Functions

virtual void close ()
 Close the subscription, and notify the server.
 
virtual void closeLocally ()
 Close the subscription, but don't notify the server.
 
- Public Member Functions inherited from com::pcbsys::nirvana::client::nQueueReader
bool hasConsumedEvents ()
 Method to see whether the reader has consumed any events. More...
 
bool isClosed ()
 When a reader is closed, the physical subscription is closed at the server. More...
 
bool isClosedLocally ()
 A reader can be closed, but the physical subscription queue is not closed at the server. More...
 
nConsumeEvent ** peek (nQueuePeekContext *pContext, int &nEvent)
 Performs a non destructive read. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from com::pcbsys::nirvana::client::nQueueReader
static nQueuePeekContextcreateContext (int windowSize=0, const std::string &selector="")
 Creates a Queue Peek Context, which is used to traverse the queue. More...
 

Detailed Description

This Reader enables the client to receive all events asynchronously.

The callback method was passed as part of the nQueueReaderContext. This class provides no pop methods, since it is all asynchronous delivery.