|
JoeSNMP API 0.2.6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.protocols.snmp.SnmpUInt32
org.opennms.protocols.snmp.SnmpTimeTicks
Defines a SNMPv1 32-bit time ticks object. The object is a 32-bit unsigned value that is incremented periodically by an agent using a specific timer interval. The object inherients and uses most of the methods defined by the SnmpUInt32 class. This class does not define any specific data, but is instead used to override the ASN.1 type of the base class.
Field Summary | |
static byte |
ASNTYPE
Defines the ASN.1 type for this object. |
(package private) static long |
serialVersionUID
Defines the serialization format |
Fields inherited from class org.opennms.protocols.snmp.SnmpUInt32 |
|
Constructor Summary | |
SnmpTimeTicks()
Constructs the default counter object. |
|
SnmpTimeTicks(long value)
Constructs the object with the specified value. |
|
SnmpTimeTicks(Long value)
Constructs the object with the specified value. |
|
SnmpTimeTicks(SnmpTimeTicks second)
Constructs a new object with the same value as the passed object. |
|
SnmpTimeTicks(SnmpUInt32 uint32)
Constructs a new object with the value constained in the SnmpUInt32 object. |
Method Summary | |
Object |
clone()
Creates a new object that is a duplicate of the current object. |
SnmpSyntax |
duplicate()
Creates a new object that is a duplicate of the current object. |
String |
toString()
Returns the string representation of the object. |
byte |
typeId()
Returns the ASN.1 type specific to this object. |
Methods inherited from class org.opennms.protocols.snmp.SnmpUInt32 |
decodeASN, encodeASN, getValue, setValue, setValue |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final long serialVersionUID
public static final byte ASNTYPE
Constructor Detail |
public SnmpTimeTicks()
public SnmpTimeTicks(long value)
value
- The default value for the object.public SnmpTimeTicks(Long value)
value
- The default value for the object.public SnmpTimeTicks(SnmpTimeTicks second)
second
- The object to recover values from.public SnmpTimeTicks(SnmpUInt32 uint32)
uint32
- The SnmpUInt32 object to copy.Method Detail |
public byte typeId()
typeId
in interface SnmpSyntax
typeId
in class SnmpUInt32
public SnmpSyntax duplicate()
duplicate
in interface SnmpSyntax
duplicate
in class SnmpUInt32
public Object clone()
clone
in class SnmpUInt32
public String toString()
toString
in class SnmpUInt32
|
JoeSNMP API 0.2.6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |