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:
-
Field Summary
-
Constructor Summary
-
Method Summary
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, isConfigurable, 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
-
Constructor Details
-
SysUpTimeImpl
public SysUpTimeImpl()
-
-
Method Details
-
getValue
public org.snmp4j.smi.TimeTicks getValue()Description copied from class:MOScalar
Returns 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 internalvalue
member and then callsuper.
MOScalar.getValue()
in the derived class. -
get
public org.snmp4j.smi.TimeTicks get()Description copied from interface:SysUpTime
Returns the system's up-time in 1/100 seconds.
-