public class

SnmpGauge

extends SnmpUnsignedInt
java.lang.Object
   ↳ com.sun.jmx.snmp.SnmpValue
     ↳ com.sun.jmx.snmp.SnmpInt
       ↳ com.sun.jmx.snmp.SnmpUnsignedInt
         ↳ com.sun.jmx.snmp.SnmpGauge

Class Overview

Represents an SNMP gauge.

This API is a Sun Microsystems internal API and is subject to change without notice.

Summary

[Expand]
Inherited Constants
From class com.sun.jmx.snmp.SnmpUnsignedInt
From interface com.sun.jmx.snmp.SnmpDataTypeEnums
[Expand]
Inherited Fields
From class com.sun.jmx.snmp.SnmpInt
Public Constructors
SnmpGauge(int v)
Constructs a new SnmpGauge from the specified integer value.
SnmpGauge(Integer v)
Constructs a new SnmpGauge from the specified Integer value.
SnmpGauge(long v)
Constructs a new SnmpGauge from the specified long value.
SnmpGauge(Long v)
Constructs a new SnmpGauge from the specified Long value.
Public Methods
final String getTypeName()
Returns a textual description of the type object.
[Expand]
Inherited Methods
From class com.sun.jmx.snmp.SnmpUnsignedInt
From class com.sun.jmx.snmp.SnmpInt
From class com.sun.jmx.snmp.SnmpValue
From class java.lang.Object

Public Constructors

public SnmpGauge (int v)

Constructs a new SnmpGauge from the specified integer value.

Parameters
v The initialization value.
Throws
IllegalArgumentException The specified value is negative or larger than SnmpUnsignedInt.MAX_VALUE.

public SnmpGauge (Integer v)

Constructs a new SnmpGauge from the specified Integer value.

Parameters
v The initialization value.
Throws
IllegalArgumentException The specified value is negative or larger than SnmpUnsignedInt.MAX_VALUE.

public SnmpGauge (long v)

Constructs a new SnmpGauge from the specified long value.

Parameters
v The initialization value.
Throws
IllegalArgumentException The specified value is negative or larger than SnmpUnsignedInt.MAX_VALUE.

public SnmpGauge (Long v)

Constructs a new SnmpGauge from the specified Long value.

Parameters
v The initialization value.
Throws
IllegalArgumentException The specified value is negative or larger than SnmpUnsignedInt.MAX_VALUE.

Public Methods

public final String getTypeName ()

Returns a textual description of the type object.

Returns
  • ASN.1 textual description.