org.opennms.netmgt.collectd
Class SNMPCollectorEntry

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore
      extended by 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 SnmpVarBind 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.

Author:
Jon Whetzel , Mike Davidson

Field Summary
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
SNMPCollectorEntry(Collection<SnmpAttributeType> attrList, SnmpCollectionSet collectionSet)
           
 
Method Summary
 void storeResult(SnmpObjId base, SnmpInstId inst, SnmpValue val)
           
 
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SNMPCollectorEntry

public SNMPCollectorEntry(Collection<SnmpAttributeType> attrList,
                          SnmpCollectionSet collectionSet)
Method Detail

storeResult

public void storeResult(SnmpObjId base,
                        SnmpInstId inst,
                        SnmpValue val)
Specified by:
storeResult in class AbstractSnmpStore


Copyright © 2009. All Rights Reserved.