Packagecom.pcbsys.nirvana.client
Classpublic class nQueueReader
InheritancenQueueReader Inheritance Object

This class is the base class for all Queue Readers and provides a generic reader interface.



Public Properties
 PropertyDefined By
  eventsConsumed : Boolean
[read-only] Method to see whether the reader has consumed any events.
nQueueReader
  isClosed : Boolean
[read-only] When a reader is closed, the physical subscription is closed at the server.
nQueueReader
  isClosedLocally : Boolean
[read-only] A reader can be closed, but the physical subscription queue is not closed at the server.
nQueueReader
Property Detail
eventsConsumedproperty
eventsConsumed:Boolean  [read-only]

Method to see whether the reader has consumed any events. For transactional readers, this is reset every time commit or rollback is called.


Implementation
    public function get eventsConsumed():Boolean
isClosedproperty 
isClosed:Boolean  [read-only]

When a reader is closed, the physical subscription is closed at the server. For Transactional readers, a close will rollback to the last committed event.


Implementation
    public function get isClosed():Boolean
isClosedLocallyproperty 
isClosedLocally:Boolean  [read-only]

A reader can be closed, but the physical subscription queue is not closed at the server. For Transactional readers, a local close will not rollback to the last committed event.


Implementation
    public function get isClosedLocally():Boolean