Class TableUtils.TableRequest

java.lang.Object
org.snmp4j.util.TableUtils.TableRequest
All Implemented Interfaces:
EventListener, ResponseListener
Enclosing class:
TableUtils

public class TableUtils.TableRequest extends Object implements ResponseListener
  • Field Details

    • lastReceived

      protected org.snmp4j.util.TableUtils.LastReceived lastReceived
    • rowsRetrieved

      protected int rowsRetrieved
    • rowsReleased

      protected int rowsReleased
  • Constructor Details

  • Method Details

    • getNumLexicographicErrors

      public int getNumLexicographicErrors()
      Gets the number of lexicographic errors that occurred during request processing. Any errors occurred on the same row will be count as one error.
      Returns:
      the number of rows returned by the agent in wrong lexicographic order (i.e. not strictly ascending).
      Since:
      2.5.11
    • sendNextChunk

      public boolean sendNextChunk()
    • sendRequest

      protected void sendRequest(PDU pdu, Target target, TableUtils.ColumnsOfRequest sendColumns) throws IOException
      Throws:
      IOException
    • removePending

      protected boolean removePending(int requestSerial)
    • onResponse

      public void onResponse(ResponseEvent event)
      Description copied from interface: ResponseListener
      Process a SNMP response.
      Specified by:
      onResponse in interface ResponseListener
      Parameters:
      event - a ResponseEvent.
    • getTableStatus

      protected int getTableStatus()
    • checkResponse

      protected boolean checkResponse(ResponseEvent event)
    • getRow

      public org.snmp4j.util.TableUtils.Row getRow(OID index)