- java.lang.Object
-
- org.snmp4j.agent.mo.MOScalar<org.snmp4j.smi.TimeTicks>
-
- org.snmp4j.agent.mo.snmp.SNMPv2MIB.SysUpTimeImpl
-
- All Implemented Interfaces:
Serializable,ManagedObject<SubRequest<?>>,ManagedObjectValueAccess<SubRequest<?>>,ChangeableManagedObject<SubRequest<?>>,GenericManagedObject,SysUpTime,MOScope,RandomAccessManagedObject<SubRequest<?>>,RegisteredManagedObject<SubRequest<?>>,SerializableManagedObject<SubRequest<?>>
- Enclosing class:
- SNMPv2MIB
public static class SNMPv2MIB.SysUpTimeImpl extends MOScalar<org.snmp4j.smi.TimeTicks> implements SysUpTime, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SysUpTimeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.snmp4j.smi.TimeTicksget()Returns the system's up-time in 1/100 seconds.org.snmp4j.smi.TimeTicksgetValue()Returns the actual value of this scalar managed object.-
Methods inherited from class org.snmp4j.agent.mo.MOScalar
addMOChangeListener, addMOValueValidationListener, changeValue, checkRequestScope, cleanup, commit, covers, exportInstance, find, fireAfterMOChange, fireAfterPrepareMOChange, fireBeforeMOChange, fireBeforePrepareMOChange, fireValidate, get, getAccess, getID, getLowerBound, getOid, getScope, getSingleInstanceScope, getSyntax, getUpperBound, getValue, importInstance, instanceCount, instanceIterator, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded, isValueOK, isVolatile, load, next, prepare, removeMOChangeListener, removeMOValueValidationListener, save, setValue, setValue, setVolatile, toString, toStringDetails, undo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.snmp4j.agent.RandomAccessManagedObject
getInstanceSubID, isVolatile
-
-
-
-
Method Detail
-
getValue
public org.snmp4j.smi.TimeTicks getValue()
Description copied from class:MOScalarReturns the actual value of this scalar managed object. For a basic instrumentation, overwrite this method to provide always the actual value and/or to update the internalvaluemember and then callsuper.MOScalar.getValue()in the derived class.
-
-