public interface TreeListener extends EventListener
TreeListener interface is implemented by objects
listening for tree events.TreeUtils| Modifier and Type | Method and Description |
|---|---|
void |
finished(TreeEvent event)
Indicates in a series of tree events that no more events will follow.
|
boolean |
isFinished()
Indicates whether the tree walk is complete or not.
|
boolean |
next(TreeEvent event)
Consumes the next table event, which is typically the next row in a
table retrieval operation.
|
boolean next(TreeEvent event)
event - a TableEvent instance.true if this listener wants to receive more events,
otherwise return false. For example, a
TreeListener can return false to stop
tree retrieval.void finished(TreeEvent event)
event - a TreeEvent instance that will either indicate an error
(RetrievalEvent.isError() returns true) or success
of the tree retrieval operation.boolean isFinished()
true if it is complete, false otherwise.Copyright © 2016 SNMP4J.org. All Rights Reserved.