- java.lang.Object
-
- org.snmp4j.util.TableUtils.TableRequest
-
- org.snmp4j.util.TableUtils.DenseTableRequest
-
- All Implemented Interfaces:
java.util.EventListener
,ResponseListener
- Enclosing class:
- TableUtils
protected class TableUtils.DenseTableRequest extends TableUtils.TableRequest
TheDenseTableRequest
extends TableRequest to implement a faster table retrieval than the original. Caution: This version does not correctly retrieve sparse tables!- Since:
- 1.5
- Author:
- Frank Fock
-
-
Field Summary
-
Fields inherited from class org.snmp4j.util.TableUtils.TableRequest
lastReceived
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DenseTableRequest(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends Address>
voidonResponse(ResponseEvent<A> event)
Process a SNMP response.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.snmp4j.util.TableUtils.TableRequest
checkResponse, getNumLexicographicErrors, getRow, getSparseTableMode, getTableStatus, removePending, sendGetPDU, sendNextChunk, sendRequest
-
-
-
-
Constructor Detail
-
DenseTableRequest
protected DenseTableRequest(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex)
-
-
Method Detail
-
onResponse
public <A extends Address> void onResponse(ResponseEvent<A> event)
Description copied from interface:ResponseListener
Process a SNMP response.- Specified by:
onResponse
in interfaceResponseListener
- Overrides:
onResponse
in classTableUtils.TableRequest
- Type Parameters:
A
- type of the targetAddress
- Parameters:
event
- aResponseEvent
.
-
-