Package org.opennms.netmgt.snmp
Interface SnmpValue
-
- All Known Implementing Classes:
AbstractSnmpValue
,MockSnmpValue
,MockSnmpValue.Counter32SnmpValue
,MockSnmpValue.Counter64SnmpValue
,MockSnmpValue.Gauge32SnmpValue
,MockSnmpValue.Integer32SnmpValue
,MockSnmpValue.IpAddressSnmpValue
,MockSnmpValue.NetworkAddressSnmpValue
,MockSnmpValue.NumberSnmpValue
,MockSnmpValue.OctetStringSnmpValue
,MockSnmpValue.OidSnmpValue
,MockSnmpValue.StringSnmpValue
,MockSnmpValue.TimeticksSnmpValue
,Snmp4JValue
public interface SnmpValue
-
-
Field Summary
Fields Modifier and Type Field Description static int
SNMP_COUNTER32
static int
SNMP_COUNTER64
static int
SNMP_END_OF_MIB
static int
SNMP_GAUGE32
static int
SNMP_INT32
static int
SNMP_IPADDRESS
static int
SNMP_NO_SUCH_INSTANCE
static int
SNMP_NO_SUCH_OBJECT
static int
SNMP_NULL
static int
SNMP_OBJECT_IDENTIFIER
static int
SNMP_OCTET_STRING
static int
SNMP_OPAQUE
static int
SNMP_TIMETICKS
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description byte[]
getBytes()
int
getType()
boolean
isDisplayable()
default boolean
isDouble()
boolean
isEndOfMib()
boolean
isError()
boolean
isNull()
boolean
isNumeric()
BigInteger
toBigInteger()
String
toDisplayString()
default Double
toDouble()
String
toHexString()
InetAddress
toInetAddress()
int
toInt()
long
toLong()
SnmpObjId
toSnmpObjId()
-
-
-
Field Detail
-
SNMP_INT32
static final int SNMP_INT32
- See Also:
- Constant Field Values
-
SNMP_OCTET_STRING
static final int SNMP_OCTET_STRING
- See Also:
- Constant Field Values
-
SNMP_NULL
static final int SNMP_NULL
- See Also:
- Constant Field Values
-
SNMP_OBJECT_IDENTIFIER
static final int SNMP_OBJECT_IDENTIFIER
- See Also:
- Constant Field Values
-
SNMP_IPADDRESS
static final int SNMP_IPADDRESS
- See Also:
- Constant Field Values
-
SNMP_COUNTER32
static final int SNMP_COUNTER32
- See Also:
- Constant Field Values
-
SNMP_GAUGE32
static final int SNMP_GAUGE32
- See Also:
- Constant Field Values
-
SNMP_TIMETICKS
static final int SNMP_TIMETICKS
- See Also:
- Constant Field Values
-
SNMP_OPAQUE
static final int SNMP_OPAQUE
- See Also:
- Constant Field Values
-
SNMP_COUNTER64
static final int SNMP_COUNTER64
- See Also:
- Constant Field Values
-
SNMP_NO_SUCH_OBJECT
static final int SNMP_NO_SUCH_OBJECT
- See Also:
- Constant Field Values
-
SNMP_NO_SUCH_INSTANCE
static final int SNMP_NO_SUCH_INSTANCE
- See Also:
- Constant Field Values
-
SNMP_END_OF_MIB
static final int SNMP_END_OF_MIB
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEndOfMib
boolean isEndOfMib()
-
isError
boolean isError()
-
isNull
boolean isNull()
-
isDisplayable
boolean isDisplayable()
-
isNumeric
boolean isNumeric()
-
toInt
int toInt()
-
toDisplayString
String toDisplayString()
-
toInetAddress
InetAddress toInetAddress()
-
toLong
long toLong()
-
toBigInteger
BigInteger toBigInteger()
-
toHexString
String toHexString()
-
getType
int getType()
-
getBytes
byte[] getBytes()
-
toSnmpObjId
SnmpObjId toSnmpObjId()
-
isDouble
default boolean isDouble()
-
toDouble
default Double toDouble()
-
-