public static class MockSnmpValue.TimeticksSnmpValue extends MockSnmpValue.NumberSnmpValue
MockSnmpValue.Counter32SnmpValue, MockSnmpValue.Counter64SnmpValue, MockSnmpValue.Gauge32SnmpValue, MockSnmpValue.Integer32SnmpValue, MockSnmpValue.IpAddressSnmpValue, MockSnmpValue.NetworkAddressSnmpValue, MockSnmpValue.NumberSnmpValue, MockSnmpValue.OctetStringSnmpValue, MockSnmpValue.OidSnmpValue, MockSnmpValue.StringSnmpValue, MockSnmpValue.TimeticksSnmpValue
END_OF_MIB, NO_SUCH_INSTANCE, NO_SUCH_OBJECT, 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 |
---|
TimeticksSnmpValue(long centiSeconds) |
TimeticksSnmpValue(String value) |
Modifier and Type | Method and Description |
---|---|
String |
getNumberString() |
String |
toDisplayString() |
String |
toString() |
getBytes, isDisplayable, isNumeric, toBigInteger, toInt, toLong
equals, getType, getValue, hashCode, isEndOfMib, isError, isNull, toHexString, toInetAddress, toSnmpObjId
allBytesDisplayable, allBytesISO_8859_1, allBytesUTF_8
public TimeticksSnmpValue(String value)
public TimeticksSnmpValue(long centiSeconds)
public String getNumberString()
getNumberString
in class MockSnmpValue.NumberSnmpValue
public String toString()
toString
in class MockSnmpValue
public String toDisplayString()
toDisplayString
in interface SnmpValue
toDisplayString
in class MockSnmpValue
Copyright © 2021. All rights reserved.