goldengate.snmp.utils
Class GgUptime

java.lang.Object
  extended by org.snmp4j.smi.AbstractVariable
      extended by org.snmp4j.smi.UnsignedInteger32
          extended by org.snmp4j.smi.TimeTicks
              extended by goldengate.snmp.utils.GgUptime
All Implemented Interfaces:
Serializable, Cloneable, Comparable<org.snmp4j.smi.Variable>, org.snmp4j.asn1.BERSerializable, org.snmp4j.smi.AssignableFromLong, org.snmp4j.smi.AssignableFromString, org.snmp4j.smi.Variable

public class GgUptime
extends org.snmp4j.smi.TimeTicks

Specific Value for TimeTicks for Uptime

Author:
Frederic Bregier
See Also:
Serialized Form

Field Summary
protected  org.snmp4j.agent.mo.snmp.SysUpTime type
           
 
Fields inherited from class org.snmp4j.smi.UnsignedInteger32
value
 
Fields inherited from class org.snmp4j.smi.AbstractVariable
SMISYNTAXES_PROPERTIES
 
Constructor Summary
GgUptime(org.snmp4j.agent.mo.snmp.SysUpTime type)
           
 
Method Summary
 Object clone()
           
 long getValue()
           
protected  void setInternalValue()
           
protected  void setInternalValue(long value)
           
 
Methods inherited from class org.snmp4j.smi.TimeTicks
decodeBER, encodeBER, fromMilliseconds, getSyntax, toMilliseconds, toString, toString
 
Methods inherited from class org.snmp4j.smi.UnsignedInteger32
compareTo, equals, fromSubIndex, getBERLength, hashCode, setValue, setValue, toInt, toLong, toSubIndex
 
Methods inherited from class org.snmp4j.smi.AbstractVariable
createFromBER, createFromSyntax, equal, getBERPayloadLength, getSyntaxFromString, getSyntaxString, getSyntaxString, isDynamic, isException
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected org.snmp4j.agent.mo.snmp.SysUpTime type
Constructor Detail

GgUptime

public GgUptime(org.snmp4j.agent.mo.snmp.SysUpTime type)
Parameters:
type - SysUpTime from SNMPV2
Method Detail

setInternalValue

protected void setInternalValue()

setInternalValue

protected void setInternalValue(long value)

clone

public Object clone()
Specified by:
clone in interface org.snmp4j.smi.Variable
Overrides:
clone in class org.snmp4j.smi.TimeTicks

getValue

public long getValue()
Overrides:
getValue in class org.snmp4j.smi.UnsignedInteger32


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.