Package org.snmp4j.model.snmp.spi
Interface SnmpRowListener
- All Superinterfaces:
TaskId
Implementations of the
SnmpRowListener
may receive row based status updates when a table is being
updated by a reload operation.- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginUpdate
(Object userObject) Indicates that an update begins for the given user object reference.void
endUpdate
(SnmpErrorStatus errorStatus, Object userObject) Indicates that an update ended for the given user object reference.boolean
Provides the next row to this row listener.Methods inherited from interface org.snmp4j.model.snmp.proxy.TaskId
isFinished
-
Method Details
-
beginUpdate
Indicates that an update begins for the given user object reference.- Parameters:
userObject
- the user object reference identifying the update process.
-
nextRow
Provides the next row to this row listener. The listener returnsfalse
if it does not want to receive any further event on this update (cancels the update).- Parameters:
nextRow
- the next row of the update.userObject
- the user object provided when the async update procedure was initiated.- Returns:
true
while further rows should be provided to the listener.
-
endUpdate
Indicates that an update ended for the given user object reference.- Parameters:
errorStatus
- the error status. If there was no error:null
.userObject
- the user object reference identifying the update process.
-