public interface TableListener extends EventListener
TableListener
interface is implemented by objects
listening for table events. Table events typically contain row data.TableUtils
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.
|
boolean next(TableEvent event)
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.void finished(TableEvent event)
event
- a TableEvent
instance that will either indicate an error
(RetrievalEvent.isError()
returns true
) or success
of the table operation.boolean isFinished()
true
if it is complete, false
otherwise.Copyright © 2013 SNMP4J.org. All rights reserved.