org.snmp4j.agent.mo.snmp
Class SNMPv2MIB.SysUpTimeImpl

java.lang.Object
  extended by org.snmp4j.agent.mo.MOScalar
      extended by org.snmp4j.agent.mo.snmp.SNMPv2MIB.SysUpTimeImpl
All Implemented Interfaces:
ManagedObject, ManagedObjectValueAccess, SysUpTime, MOScope, RegisteredManagedObject, SerializableManagedObject
Enclosing class:
SNMPv2MIB

public static class SNMPv2MIB.SysUpTimeImpl
extends MOScalar
implements SysUpTime


Constructor Summary
SNMPv2MIB.SysUpTimeImpl()
           
 
Method Summary
 org.snmp4j.smi.TimeTicks get()
          Returns the system's up-time in 1/100 seconds.
 org.snmp4j.smi.Variable getValue()
          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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SNMPv2MIB.SysUpTimeImpl

public SNMPv2MIB.SysUpTimeImpl()
Method Detail

getValue

public org.snmp4j.smi.Variable 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 internal value member and then call super.MOScalar.getValue() in the derived class.

Overrides:
getValue in class MOScalar
Returns:
a non null Variable with the same syntax defined for this scalar object.

get

public org.snmp4j.smi.TimeTicks get()
Description copied from interface: SysUpTime
Returns the system's up-time in 1/100 seconds.

Specified by:
get in interface SysUpTime
Returns:
a TimeTicks instance.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.