Interface SnmpRowListener

All Superinterfaces:
TaskId

public interface SnmpRowListener extends 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 Type
    Method
    Description
    void
    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
    nextRow(SnmpRow nextRow, Object userObject)
    Provides the next row to this row listener.

    Methods inherited from interface org.snmp4j.model.snmp.proxy.TaskId

    isFinished
  • Method Details

    • beginUpdate

      void beginUpdate(Object userObject)
      Indicates that an update begins for the given user object reference.
      Parameters:
      userObject - the user object reference identifying the update process.
    • nextRow

      boolean nextRow(SnmpRow nextRow, Object userObject)
      Provides the next row to this row listener. The listener returns false 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

      void endUpdate(SnmpErrorStatus errorStatus, Object userObject)
      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.