Package org.snmp4j.util
Interface TableListener
- All Superinterfaces:
EventListener
The
TableListener interface is implemented by objects
listening for table events. Table events typically contain row data.- Since:
- 1.0.2
- Version:
- 1.10
- Author:
- Frank Fock
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidfinished(TableEvent event) Indicates in a series of table events that no more events will follow.booleanIndicates whether the tree walk is complete or not.booleannext(TableEvent event) Consumes the next table event, which is typically the next row in a table retrieval operation.
-
Method Details
-
next
Consumes the next table event, which is typically the next row in a table retrieval operation.- Parameters:
event- aTableEventinstance.- Returns:
trueif this listener wants to receive more events, otherwise returnfalse. For example, aTableListenercan returnfalseto stop table retrieval.
-
finished
Indicates in a series of table events that no more events will follow.- Parameters:
event- aTableEventinstance that will either indicate an error (RetrievalEvent.isError()returnstrue) or success of the table operation.
-
isFinished
boolean isFinished()Indicates whether the tree walk is complete or not.- Returns:
trueif it is complete,falseotherwise.- Since:
- 1.10
-