Package org.opennms.netmgt.snmp.snmp4j
Class Snmp4JValue
- java.lang.Object
-
- org.opennms.netmgt.snmp.AbstractSnmpValue
-
- org.opennms.netmgt.snmp.snmp4j.Snmp4JValue
-
- All Implemented Interfaces:
SnmpValue
public class Snmp4JValue extends AbstractSnmpValue
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.snmp.SnmpValue
SNMP_COUNTER32, SNMP_COUNTER64, SNMP_END_OF_MIB, SNMP_GAUGE32, SNMP_INT32, SNMP_IPADDRESS, SNMP_NO_SUCH_INSTANCE, SNMP_NO_SUCH_OBJECT, SNMP_NULL, SNMP_OBJECT_IDENTIFIER, SNMP_OCTET_STRING, SNMP_OPAQUE, SNMP_TIMETICKS
-
-
Constructor Summary
Constructors Constructor Description Snmp4JValue(org.snmp4j.smi.Variable value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)byte[]getBytes()intgetType()org.snmp4j.smi.VariablegetVariable()inthashCode()booleanisDisplayable()booleanisEndOfMib()booleanisError()booleanisNull()booleanisNumeric()BigIntegertoBigInteger()StringtoDisplayString()StringtoHexString()InetAddresstoInetAddress()inttoInt()longtoLong()SnmpObjIdtoSnmpObjId()StringtoString()-
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpValue
allBytesDisplayable, allBytesISO_8859_1, allBytesUTF_8
-
-
-
-
Method Detail
-
getBytes
public byte[] getBytes()
-
getType
public int getType()
-
isEndOfMib
public boolean isEndOfMib()
-
isNumeric
public boolean isNumeric()
-
toInt
public int toInt()
-
toLong
public long toLong()
-
toDisplayString
public String toDisplayString()
-
toInetAddress
public InetAddress toInetAddress()
-
toHexString
public String toHexString()
-
toBigInteger
public BigInteger toBigInteger()
-
toSnmpObjId
public SnmpObjId toSnmpObjId()
-
isDisplayable
public boolean isDisplayable()
-
isNull
public boolean isNull()
-
getVariable
public org.snmp4j.smi.Variable getVariable()
-
isError
public boolean isError()
-
-