java.util.EventListener
, ResponseListener
public class TableUtils.TableRequest extends java.lang.Object implements ResponseListener
Modifier and Type | Field | Description |
---|---|---|
protected org.snmp4j.util.TableUtils.LastReceived |
lastReceived |
Constructor | Description |
---|---|
TableRequest(Target target,
OID[] columnOIDs,
TableListener listener,
java.lang.Object userObject,
OID lowerBoundIndex,
OID upperBoundIndex,
TableUtils.SparseTableMode sparseTableMode) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
checkResponse(ResponseEvent event) |
|
int |
getNumLexicographicErrors() |
Gets the number of lexicographic errors that occurred during request processing.
|
org.snmp4j.util.TableUtils.Row |
getRow(OID index) |
|
TableUtils.SparseTableMode |
getSparseTableMode() |
|
protected int |
getTableStatus() |
|
void |
onResponse(ResponseEvent event) |
Process a SNMP response.
|
protected boolean |
removePending(int requestSerial) |
|
protected PDU |
sendGetPDU(org.snmp4j.util.TableUtils.Row firstCacheRow,
ResponseListener responseListener,
PDU pdu) |
|
boolean |
sendNextChunk() |
|
protected void |
sendRequest(PDU pdu,
Target target,
TableUtils.ColumnsOfRequest sendColumns) |
public TableRequest(Target target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex, TableUtils.SparseTableMode sparseTableMode)
public TableUtils.SparseTableMode getSparseTableMode()
public int getNumLexicographicErrors()
public boolean sendNextChunk()
protected void sendRequest(PDU pdu, Target target, TableUtils.ColumnsOfRequest sendColumns) throws java.io.IOException
java.io.IOException
protected boolean removePending(int requestSerial)
public void onResponse(ResponseEvent event)
ResponseListener
onResponse
in interface ResponseListener
event
- a ResponseEvent
.protected PDU sendGetPDU(org.snmp4j.util.TableUtils.Row firstCacheRow, ResponseListener responseListener, PDU pdu)
protected int getTableStatus()
protected boolean checkResponse(ResponseEvent event)
public org.snmp4j.util.TableUtils.Row getRow(OID index)
Copyright © 2018 SNMP4J.org. All rights reserved.