Package org.opennms.netmgt.collectd
Class SNMPCollectorEntry
- java.lang.Object
-
- org.opennms.netmgt.snmp.AbstractSnmpStore
-
- org.opennms.netmgt.collectd.SNMPCollectorEntry
-
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.
- Version:
- $Id: $
- Author:
- Jon Whetzel , Jon Whetzel , Mike Davidson
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
-
-
Constructor Summary
Constructors Constructor Description SNMPCollectorEntry(java.util.Collection<SnmpAttributeType> attrList, SnmpCollectionSet collectionSet)
Constructor for SNMPCollectorEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
storeResult(SnmpResult res)
-
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
-
-
-
-
Constructor Detail
-
SNMPCollectorEntry
public SNMPCollectorEntry(java.util.Collection<SnmpAttributeType> attrList, SnmpCollectionSet collectionSet)
Constructor for SNMPCollectorEntry.
- Parameters:
attrList
- aCollection
object.collectionSet
- aSnmpCollectionSet
object.
-
-
Method Detail
-
storeResult
public void storeResult(SnmpResult res)
- Specified by:
storeResult
in classAbstractSnmpStore
-
-