public static class MockSnmpValue.IpAddressSnmpValue extends MockSnmpValue
MockSnmpValue.Counter32SnmpValue, MockSnmpValue.Counter64SnmpValue, MockSnmpValue.Gauge32SnmpValue, MockSnmpValue.Integer32SnmpValue, MockSnmpValue.IpAddressSnmpValue, MockSnmpValue.NetworkAddressSnmpValue, MockSnmpValue.NumberSnmpValue, MockSnmpValue.OctetStringSnmpValue, MockSnmpValue.OidSnmpValue, MockSnmpValue.StringSnmpValue, MockSnmpValue.TimeticksSnmpValueEND_OF_MIB, NO_SUCH_INSTANCE, NO_SUCH_OBJECT, NULL_VALUESNMP_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 |
|---|
IpAddressSnmpValue(byte[] bytes) |
IpAddressSnmpValue(InetAddress addr) |
IpAddressSnmpValue(String value) |
| Modifier and Type | Method and Description |
|---|---|
static String |
addrStr(byte[] bytes) |
byte[] |
getBytes() |
boolean |
isDisplayable() |
InetAddress |
toInetAddress() |
equals, getType, getValue, hashCode, isEndOfMib, isError, isNull, isNumeric, toBigInteger, toDisplayString, toHexString, toInt, toLong, toSnmpObjId, toStringallBytesDisplayable, allBytesISO_8859_1, allBytesUTF_8public IpAddressSnmpValue(InetAddress addr)
public IpAddressSnmpValue(byte[] bytes)
public IpAddressSnmpValue(String value)
public static String addrStr(byte[] bytes)
public InetAddress toInetAddress()
toInetAddress in interface SnmpValuetoInetAddress in class MockSnmpValuepublic byte[] getBytes()
getBytes in interface SnmpValuegetBytes in class MockSnmpValuepublic boolean isDisplayable()
isDisplayable in interface SnmpValueisDisplayable in class MockSnmpValueCopyright © 2020. All rights reserved.