org.opennms.netmgt.capsd.snmp
Class SnmpStore

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore
      extended by org.opennms.netmgt.capsd.snmp.SnmpStore
Direct Known Subclasses:
SnmpTableEntry

public class SnmpStore
extends AbstractSnmpStore


Field Summary
protected  NamedSnmpVar[] ms_elemList
           The keys that will be supported by default from the TreeMap base class.
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
SnmpStore(NamedSnmpVar[] list)
           
 
Method Summary
 int getElementListSize()
           Returns the number of entries in the MIB-II ifTable element list.
 NamedSnmpVar[] getElements()
           
protected  Category log()
           
 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
 

Field Detail

ms_elemList

protected NamedSnmpVar[] ms_elemList

The keys that will be supported by default from the TreeMap base class. Each of the elements in the list are an instance of the SNMP Interface table. Objects in this list should be used by multiple instances of this class.

Constructor Detail

SnmpStore

public SnmpStore(NamedSnmpVar[] list)
Method Detail

getElementListSize

public int getElementListSize()

Returns the number of entries in the MIB-II ifTable element list.


getElements

public NamedSnmpVar[] getElements()

log

protected Category log()

storeResult

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


Copyright © 2009. All Rights Reserved.