class SnmpRequest.CVSTableListener extends java.lang.Object implements TableListener
Modifier and Type | Field and Description |
---|---|
private boolean |
finished |
private long |
requestTime |
Constructor and Description |
---|
CVSTableListener(long time) |
Modifier and Type | Method and Description |
---|---|
void |
finished(TableEvent event)
Indicates in a series of table events that no more events will follow.
|
boolean |
isFinished()
Indicates whether the tree walk is complete or not.
|
boolean |
next(TableEvent event)
Consumes the next table event, which is typically the next row in a
table retrieval operation.
|
public boolean next(TableEvent event)
TableListener
next
in interface TableListener
event
- a TableEvent
instance.true
if this listener wants to receive more events,
otherwise return false
. For example, a
TableListener
can return false
to stop
table retrieval.public void finished(TableEvent event)
TableListener
finished
in interface TableListener
event
- a TableEvent
instance that will either indicate an error
(RetrievalEvent.isError()
returns true
) or success
of the table operation.public boolean isFinished()
TableListener
isFinished
in interface TableListener
true
if it is complete, false
otherwise.