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 boolean
equals(java.lang.Object obj)
byte[]
getBytes()
int
getType()
org.snmp4j.smi.Variable
getVariable()
int
hashCode()
boolean
isDisplayable()
boolean
isEndOfMib()
boolean
isError()
boolean
isNull()
boolean
isNumeric()
java.math.BigInteger
toBigInteger()
java.lang.String
toDisplayString()
java.lang.String
toHexString()
java.net.InetAddress
toInetAddress()
int
toInt()
long
toLong()
SnmpObjId
toSnmpObjId()
java.lang.String
toString()
-
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 java.lang.String toDisplayString()
-
toInetAddress
public java.net.InetAddress toInetAddress()
-
toHexString
public java.lang.String toHexString()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toBigInteger
public java.math.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()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-