Package org.opennms.netmgt.snmp
Class AbstractSnmpStore
- java.lang.Object
-
- org.opennms.netmgt.snmp.AbstractSnmpStore
-
- Direct Known Subclasses:
SNMPCollectorEntry,SnmpStore
public abstract class AbstractSnmpStore extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractSnmpStore()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetDisplayString(String key)StringgetHexString(String key)IntegergetIfIndex()IntegergetInt32(String key)InetAddressgetIPAddress(String key)StringgetObjectID(String key)LonggetUInt32(String key)SnmpValuegetValue(String key)booleanisEmpty()protected voidputIfIndex(int ifIndex)protected voidputValue(String key, SnmpValue value)intsize()abstract voidstoreResult(SnmpResult res)
-
-
-
Field Detail
-
IFINDEX
public static final String IFINDEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
storeResult
public abstract void storeResult(SnmpResult res)
-
getIPAddress
public InetAddress getIPAddress(String key)
-
getIfIndex
public Integer getIfIndex()
-
putIfIndex
protected void putIfIndex(int ifIndex)
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
-