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