Package org.snmp4j.agent.mo.snmp
Class SNMPv2MIB.SysUpTimeImpl
java.lang.Object
org.snmp4j.agent.mo.MOScalar<org.snmp4j.smi.TimeTicks>
org.snmp4j.agent.mo.snmp.SNMPv2MIB.SysUpTimeImpl
- All Implemented Interfaces:
Serializable
,ManagedObject
,ManagedObjectValueAccess
,SysUpTime
,MOScope
,RegisteredManagedObject
,SerializableManagedObject
- 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, find, fireAfterMOChange, fireAfterPrepareMOChange, fireBeforeMOChange, fireBeforePrepareMOChange, fireValidate, get, getAccess, getID, getLowerBound, getOid, getScope, getSingleInstanceScope, getUpperBound, getValue, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded, isValueOK, isVolatile, load, next, prepare, removeMOChangeListener, removeMOValueValidationListener, save, setValue, setValue, setVolatile, toString, toStringDetails, undo
-
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.
-