Package org.opennms.netmgt.snmp.mock
Class MockSnmpValue.TimeticksSnmpValue
- java.lang.Object
-
- org.opennms.netmgt.snmp.AbstractSnmpValue
-
- org.opennms.netmgt.snmp.mock.MockSnmpValue
-
- org.opennms.netmgt.snmp.mock.MockSnmpValue.NumberSnmpValue
-
- org.opennms.netmgt.snmp.mock.MockSnmpValue.TimeticksSnmpValue
-
- All Implemented Interfaces:
SnmpValue
- Enclosing class:
- MockSnmpValue
public static class MockSnmpValue.TimeticksSnmpValue extends MockSnmpValue.NumberSnmpValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.snmp.mock.MockSnmpValue
MockSnmpValue.Counter32SnmpValue, MockSnmpValue.Counter64SnmpValue, MockSnmpValue.Gauge32SnmpValue, MockSnmpValue.Integer32SnmpValue, MockSnmpValue.IpAddressSnmpValue, MockSnmpValue.NetworkAddressSnmpValue, MockSnmpValue.NumberSnmpValue, MockSnmpValue.OctetStringSnmpValue, MockSnmpValue.OidSnmpValue, MockSnmpValue.StringSnmpValue, MockSnmpValue.TimeticksSnmpValue
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.snmp.mock.MockSnmpValue
END_OF_MIB, NO_SUCH_INSTANCE, NO_SUCH_OBJECT, NULL_VALUE
-
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 TimeticksSnmpValue(long centiSeconds)
TimeticksSnmpValue(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNumberString()
java.lang.String
toDisplayString()
java.lang.String
toString()
-
Methods inherited from class org.opennms.netmgt.snmp.mock.MockSnmpValue.NumberSnmpValue
getBytes, isDisplayable, isNumeric, toBigInteger, toInt, toLong
-
Methods inherited from class org.opennms.netmgt.snmp.mock.MockSnmpValue
equals, getType, getValue, hashCode, isEndOfMib, isError, isNull, toHexString, toInetAddress, toSnmpObjId
-
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpValue
allBytesDisplayable, allBytesISO_8859_1, allBytesUTF_8
-
-
-
-
Method Detail
-
getNumberString
public java.lang.String getNumberString()
- Overrides:
getNumberString
in classMockSnmpValue.NumberSnmpValue
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMockSnmpValue
-
toDisplayString
public java.lang.String toDisplayString()
- Specified by:
toDisplayString
in interfaceSnmpValue
- Overrides:
toDisplayString
in classMockSnmpValue
-
-