org.opennms.netmgt.snmp.snmp4j
Class Snmp4JValueFactory
java.lang.Object
org.opennms.netmgt.snmp.snmp4j.Snmp4JValueFactory
- All Implemented Interfaces:
- SnmpValueFactory
public class Snmp4JValueFactory
- extends Object
- implements SnmpValueFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Snmp4JValueFactory
public Snmp4JValueFactory()
getOctetString
public SnmpValue getOctetString(byte[] bytes)
- Specified by:
getOctetString in interface SnmpValueFactory
getCounter32
public SnmpValue getCounter32(long val)
- Specified by:
getCounter32 in interface SnmpValueFactory
getCounter64
public SnmpValue getCounter64(BigInteger bigInt)
- Specified by:
getCounter64 in interface SnmpValueFactory
getGauge32
public SnmpValue getGauge32(long val)
- Specified by:
getGauge32 in interface SnmpValueFactory
getInt32
public SnmpValue getInt32(int val)
- Specified by:
getInt32 in interface SnmpValueFactory
getIpAddress
public SnmpValue getIpAddress(InetAddress val)
- Specified by:
getIpAddress in interface SnmpValueFactory
getObjectId
public SnmpValue getObjectId(SnmpObjId objId)
- Specified by:
getObjectId in interface SnmpValueFactory
getTimeTicks
public SnmpValue getTimeTicks(long val)
- Specified by:
getTimeTicks in interface SnmpValueFactory
getNull
public SnmpValue getNull()
- Specified by:
getNull in interface SnmpValueFactory
getValue
public SnmpValue getValue(int type,
byte[] bytes)
- Specified by:
getValue in interface SnmpValueFactory
getOpaque
public SnmpValue getOpaque(byte[] bs)
- Specified by:
getOpaque in interface SnmpValueFactory
Copyright © 2009. All Rights Reserved.