This Reader enables the client to receive all events asynchronous. More...
Public Member Functions | |
override void | close () |
Close the subscription, and notify the server | |
override void | closeLocally () |
Close the subscription, but do not notify the server | |
bool | isPaused () |
Returns true if the subscription of the reader is currently paused. More... | |
void | pauseReader () |
Pause the subscription of the nQueueAsyncReader. More... | |
void | resumeReader () |
Resumes the subscription of the nQueueAsyncReader. More... | |
![]() | |
void | destroyReader () |
This call will release any outstanding resources on the server and close the reader. More... | |
void | destroyReaderLocally () |
This call will close local reader resources but remain subscribed at the server Any future calls to this object will work unless destroyReader() is called More... | |
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 context) |
Performs a non destructive read More... | |
Additional Inherited Members | |
![]() | |
static nQueuePeekContext | createContext () |
Creates a Queue Peek Context, which is used to traverse the queue. More... | |
static nQueuePeekContext | createContext (int windowSize) |
Creates a Queue Peek Context, which is used to traverse the queue. More... | |
static nQueuePeekContext | createContext (int windowSize, string selector) |
Creates a Queue Peek Context, which is used to traverse the queue. More... | |
This Reader enables the client to receive all events asynchronous.
The callback method was passed as part of the nQueueReaderContext. This class provides no pop
methods, since it is all asynchronous delivery.
bool com.pcbsys.nirvana.client.nQueueAsyncReader.isPaused | ( | ) |
Returns true if the subscription of the reader is currently paused.
False otherwise.
void com.pcbsys.nirvana.client.nQueueAsyncReader.pauseReader | ( | ) |
Pause the subscription of the nQueueAsyncReader.
This means that no new events will be received from the server until the subscription is resumed.All events that have already been received will be processed normally.
void com.pcbsys.nirvana.client.nQueueAsyncReader.resumeReader | ( | ) |
Resumes the subscription of the nQueueAsyncReader.