Package org.snmp4j.util
Class TableUtils.TableRequest
java.lang.Object
org.snmp4j.util.TableUtils.TableRequest
- All Implemented Interfaces:
EventListener
,ResponseListener
- Enclosing class:
TableUtils
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.snmp4j.util.TableUtils.LastReceived
protected int
protected int
-
Constructor Summary
ConstructorDescriptionTableRequest
(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkResponse
(ResponseEvent event) int
Gets the number of lexicographic errors that occurred during request processing.org.snmp4j.util.TableUtils.Row
protected int
void
onResponse
(ResponseEvent event) Process a SNMP response.protected boolean
removePending
(int requestSerial) boolean
protected void
sendRequest
(PDU pdu, Target target, TableUtils.ColumnsOfRequest sendColumns)
-
Field Details
-
lastReceived
protected org.snmp4j.util.TableUtils.LastReceived lastReceived -
rowsRetrieved
protected int rowsRetrieved -
rowsReleased
protected int rowsReleased
-
-
Constructor Details
-
TableRequest
-
-
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
Description copied from interface:ResponseListener
Process a SNMP response.- Specified by:
onResponse
in interfaceResponseListener
- Parameters:
event
- aResponseEvent
.
-
getTableStatus
protected int getTableStatus() -
checkResponse
-
getRow
-