Package org.opennms.netmgt.snmp.joesnmp
Class JoeSnmpValueFactory
- java.lang.Object
-
- org.opennms.netmgt.snmp.joesnmp.JoeSnmpValueFactory
-
- All Implemented Interfaces:
SnmpValueFactory
public class JoeSnmpValueFactory extends Object implements SnmpValueFactory
-
-
Constructor Summary
Constructors Constructor Description JoeSnmpValueFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpValue
getCounter32(long val)
SnmpValue
getCounter64(BigInteger val)
SnmpValue
getGauge32(long val)
SnmpValue
getInt32(int val)
SnmpValue
getIpAddress(InetAddress val)
SnmpValue
getNull()
SnmpValue
getObjectId(SnmpObjId objId)
SnmpValue
getOctetString(byte[] bytes)
SnmpValue
getOpaque(byte[] bs)
SnmpValue
getTimeTicks(long val)
SnmpValue
getValue(int type, byte[] bytes)
-
-
-
Method Detail
-
getOctetString
public SnmpValue getOctetString(byte[] bytes)
- Specified by:
getOctetString
in interfaceSnmpValueFactory
-
getCounter32
public SnmpValue getCounter32(long val)
- Specified by:
getCounter32
in interfaceSnmpValueFactory
-
getCounter64
public SnmpValue getCounter64(BigInteger val)
- Specified by:
getCounter64
in interfaceSnmpValueFactory
-
getGauge32
public SnmpValue getGauge32(long val)
- Specified by:
getGauge32
in interfaceSnmpValueFactory
-
getInt32
public SnmpValue getInt32(int val)
- Specified by:
getInt32
in interfaceSnmpValueFactory
-
getIpAddress
public SnmpValue getIpAddress(InetAddress val)
- Specified by:
getIpAddress
in interfaceSnmpValueFactory
-
getObjectId
public SnmpValue getObjectId(SnmpObjId objId)
- Specified by:
getObjectId
in interfaceSnmpValueFactory
-
getTimeTicks
public SnmpValue getTimeTicks(long val)
- Specified by:
getTimeTicks
in interfaceSnmpValueFactory
-
getNull
public SnmpValue getNull()
- Specified by:
getNull
in interfaceSnmpValueFactory
-
getValue
public SnmpValue getValue(int type, byte[] bytes)
- Specified by:
getValue
in interfaceSnmpValueFactory
-
getOpaque
public SnmpValue getOpaque(byte[] bs)
- Specified by:
getOpaque
in interfaceSnmpValueFactory
-
-