org.opennms.netmgt.snmp
Class AbstractSnmpStore

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore

public abstract class AbstractSnmpStore
extends Object


Field Summary
static String IFINDEX
           
 
Constructor Summary
AbstractSnmpStore()
           
 
Method Summary
 String getDisplayString(String key)
           
 String getHexString(String key)
           
 Integer getIfIndex()
           
 Integer getInt32(String key)
           
 InetAddress getIPAddress(String key)
           
 String getObjectID(String key)
           
 Long getUInt32(String key)
           
 SnmpValue getValue(String key)
           
 boolean isEmpty()
           
protected  void putIfIndex(int ifIndex)
           
protected  void putValue(String key, SnmpValue value)
           
 int size()
           
abstract  void storeResult(SnmpObjId base, SnmpInstId inst, SnmpValue val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IFINDEX

public static final String IFINDEX
See Also:
Constant Field Values
Constructor Detail

AbstractSnmpStore

public AbstractSnmpStore()
Method Detail

storeResult

public abstract void storeResult(SnmpObjId base,
                                 SnmpInstId inst,
                                 SnmpValue val)

getInt32

public Integer getInt32(String key)

getUInt32

public Long getUInt32(String key)

getDisplayString

public String getDisplayString(String key)

getHexString

public String getHexString(String key)

getIPAddress

public InetAddress getIPAddress(String key)

getObjectID

public String getObjectID(String key)

getValue

public SnmpValue getValue(String key)

putValue

protected void putValue(String key,
                        SnmpValue value)

getIfIndex

public Integer getIfIndex()

putIfIndex

protected void putIfIndex(int ifIndex)

size

public int size()

isEmpty

public boolean isEmpty()


Copyright © 2008. All Rights Reserved.