Module org.snmp4j

Class TableUtils.TableRequest

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

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

    • lastReceived

      protected TableUtils.LastReceived lastReceived
    • rowsRetrieved

      protected int rowsRetrieved
    • rowsReleased

      protected int rowsReleased
  • Constructor Details

  • Method Details

    • getSparseTableMode

      public TableUtils.SparseTableMode getSparseTableMode()
    • 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 <A extends Address> void onResponse(ResponseEvent<A> event)
      Description copied from interface: ResponseListener
      Process a SNMP response.
      Specified by:
      onResponse in interface ResponseListener
      Type Parameters:
      A - type of the target Address
      Parameters:
      event - a ResponseEvent.
    • sendGetPDU

      protected PDU sendGetPDU(TableUtils.Row firstCacheRow, ResponseListener responseListener, PDU pdu)
    • getTableStatus

      protected int getTableStatus()
    • checkResponse

      protected <A extends Address> boolean checkResponse(ResponseEvent<A> event)
    • getRow

      public TableUtils.Row getRow(OID index)