com.pcbsys.nirvana.client.nDurableViewer Class Referenceabstract

Abstract implementation of a class for browsing the contents of a durable object, contains the next() method which allows the user of the API to iterate over the contents of a given durable. More...

Inherited by com.pcbsys.nirvana.client.nBaseTopicDurable.nBaseDurableViewer, com.pcbsys.nirvana.client.nIndexedDurable.nIndexedDurableViewer, and com.pcbsys.nirvana.client.nSharedDurableQueued.nSharedDurableQueuedViewer.

Public Member Functions

void close () throws nBaseClientException
 Closes the created viewer. More...
 
abstract nConsumeEvent next () throws nChannelNotFoundException, nSelectorParserException, nSecurityException, nSessionNotConnectedException, nRealmNotFoundException, nSessionPausedException, nUnexpectedResponseException, nIllegalStateException, nRequestTimedOutException, nIllegalArgumentException
 Returns the next un-acknowledged nConsumeEvent event. More...
 

Detailed Description

Abstract implementation of a class for browsing the contents of a durable object, contains the next() method which allows the user of the API to iterate over the contents of a given durable.

Since
10.0

Member Function Documentation

void com.pcbsys.nirvana.client.nDurableViewer.close ( ) throws nBaseClientException

Closes the created viewer.

Exceptions
nBaseClientExceptionIf the durable viewer fails to close correctly this exception will be thrown
Since
10.0

Returns the next un-acknowledged nConsumeEvent event.

If there are no further events to be consumed at this time the method will return null instead.

Since
10.0