public final class SNMPCollectorEntry extends AbstractSnmpStore
The SNMPCollectorEntry class is designed to hold all SNMP collected data pertaining to a particular interface.
An instance of this class is created by calling the constructor and passing a list of SnmpVarBindDTO objects from an SNMP PDU response. This class extends java.util.TreeMap which is used to store each of the collected data points indexed by object identifier.
IFINDEX| Constructor and Description |
|---|
SNMPCollectorEntry(Collection<SnmpAttributeType> attrList,
SnmpCollectionSet collectionSet)
Constructor for SNMPCollectorEntry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
storeResult(SnmpResult res) |
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, sizepublic SNMPCollectorEntry(Collection<SnmpAttributeType> attrList, SnmpCollectionSet collectionSet)
Constructor for SNMPCollectorEntry.
attrList - a Collection object.collectionSet - a SnmpCollectionSet object.public void storeResult(SnmpResult res)
storeResult in class AbstractSnmpStoreCopyright © 2022. All rights reserved.