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
FieldsModifier and TypeFieldDescriptionprotected org.snmp4j.util.TableUtils.LastReceivedprotected intprotected int -
Constructor Summary
ConstructorsConstructorDescriptionTableRequest(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckResponse(ResponseEvent event) intGets the number of lexicographic errors that occurred during request processing.org.snmp4j.util.TableUtils.Rowprotected intvoidonResponse(ResponseEvent event) Process a SNMP response.protected booleanremovePending(int requestSerial) booleanprotected voidsendRequest(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:ResponseListenerProcess a SNMP response.- Specified by:
onResponsein interfaceResponseListener- Parameters:
event- aResponseEvent.
-
getTableStatus
protected int getTableStatus() -
checkResponse
-
getRow
-