public class MockSnmpValue extends AbstractSnmpValue
Modifier and Type | Class and Description |
---|---|
static class |
MockSnmpValue.Counter32SnmpValue |
static class |
MockSnmpValue.Counter64SnmpValue |
static class |
MockSnmpValue.Gauge32SnmpValue |
static class |
MockSnmpValue.Integer32SnmpValue |
static class |
MockSnmpValue.IpAddressSnmpValue |
static class |
MockSnmpValue.NetworkAddressSnmpValue |
static class |
MockSnmpValue.NumberSnmpValue |
static class |
MockSnmpValue.OctetStringSnmpValue |
static class |
MockSnmpValue.OidSnmpValue |
static class |
MockSnmpValue.StringSnmpValue |
static class |
MockSnmpValue.TimeticksSnmpValue |
Modifier and Type | Field and Description |
---|---|
static MockSnmpValue |
END_OF_MIB |
static MockSnmpValue |
NO_SUCH_INSTANCE |
static MockSnmpValue |
NO_SUCH_OBJECT |
static MockSnmpValue |
NULL_VALUE |
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 and Description |
---|
MockSnmpValue(int type,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes() |
int |
getType() |
String |
getValue() |
int |
hashCode() |
boolean |
isDisplayable() |
boolean |
isEndOfMib() |
boolean |
isError() |
boolean |
isNull() |
boolean |
isNumeric() |
BigInteger |
toBigInteger() |
String |
toDisplayString() |
String |
toHexString() |
InetAddress |
toInetAddress() |
int |
toInt() |
long |
toLong() |
SnmpObjId |
toSnmpObjId() |
String |
toString() |
allBytesDisplayable, allBytesISO_8859_1, allBytesUTF_8
public static final MockSnmpValue NULL_VALUE
public static final MockSnmpValue NO_SUCH_INSTANCE
public static final MockSnmpValue NO_SUCH_OBJECT
public static final MockSnmpValue END_OF_MIB
public MockSnmpValue(int type, String value)
public boolean isEndOfMib()
public int getType()
public String toDisplayString()
public String getValue()
public boolean isNumeric()
public boolean isError()
public int toInt()
public InetAddress toInetAddress()
public long toLong()
public String toHexString()
public BigInteger toBigInteger()
public SnmpObjId toSnmpObjId()
public byte[] getBytes()
public boolean isDisplayable()
public boolean isNull()
Copyright © 2021. All rights reserved.