Module org.snmp4j

Class Gauge32

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Variable>, BERSerializable, AssignableFromLong, AssignableFromString, Variable

public class Gauge32 extends UnsignedInteger32
The Gauge32 class is indistinguishable from UnsignedInteger32.
Version:
1.0
Author:
Frank Fock
See Also:
  • Constructor Details

    • Gauge32

      public Gauge32()
    • Gauge32

      public Gauge32(long value)
  • Method Details

    • getSyntax

      public int getSyntax()
      Description copied from class: AbstractVariable
      Gets the ASN.1 syntax identifier value of this SNMP variable.
      Specified by:
      getSyntax in interface Variable
      Overrides:
      getSyntax in class UnsignedInteger32
      Returns:
      an integer value less than 128 for regular SMI objects and a value greater or equal than 128 for exception values like noSuchObject, noSuchInstance, and endOfMibView.
    • clone

      public Object clone()
      Description copied from interface: Variable
      Clones this variable. Cloning can be used by the SNMP4J API to better support concurrency by creating a clone for internal processing. The content of this object is independent to the content of the clone. Thus, changes to the clone will have no effect to this object.
      Specified by:
      clone in interface Variable
      Overrides:
      clone in class UnsignedInteger32
      Returns:
      a new instance of this Variable with the same value.