Package org.opennms.netmgt.snmp
Class SnmpStore
- java.lang.Object
-
- org.opennms.netmgt.snmp.AbstractSnmpStore
-
- org.opennms.netmgt.snmp.SnmpStore
-
- Direct Known Subclasses:
SnmpTableEntry,TcaDataEntry
public class SnmpStore extends AbstractSnmpStore
-
-
Field Summary
Fields Modifier and Type Field Description protected NamedSnmpVar[]ms_elemListThe keys that will be supported by default from the TreeMap base class.-
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
-
-
Constructor Summary
Constructors Constructor Description SnmpStore(NamedSnmpVar[] list)Constructor for SnmpStore.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetElementListSize()Returns the number of entries in the MIB-II ifTable element list.NamedSnmpVar[]getElements()getElementsvoidstoreResult(SnmpResult res)-
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
-
-
-
-
Field Detail
-
ms_elemList
protected final 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)
Constructor for SnmpStore.
- Parameters:
list- an array ofNamedSnmpVarobjects.
-
-
Method Detail
-
getElementListSize
public int getElementListSize()
Returns the number of entries in the MIB-II ifTable element list.
- Returns:
- a int.
-
getElements
public NamedSnmpVar[] getElements()
getElements
- Returns:
- an array of
NamedSnmpVarobjects.
-
storeResult
public void storeResult(SnmpResult res)
- Specified by:
storeResultin classAbstractSnmpStore
-
-