public abstract class

SnmpUnsignedInt

extends SnmpInt
java.lang.Object
   ↳ com.sun.jmx.snmp.SnmpValue
     ↳ com.sun.jmx.snmp.SnmpInt
       ↳ com.sun.jmx.snmp.SnmpUnsignedInt
Known Direct Subclasses

Class Overview

Is the base for all SNMP syntaxes based on unsigned integers.

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

Summary

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

Constants

public static final long MAX_VALUE

The largest value of the type unsigned int (2^32 - 1).

Constant Value: 4294967295 (0x00000000ffffffff)

Public Constructors

public SnmpUnsignedInt (int v)

Constructs a new SnmpUnsignedInt from the specified integer value.

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

public SnmpUnsignedInt (Integer v)

Constructs a new SnmpUnsignedInt from the specified Integer value.

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

public SnmpUnsignedInt (long v)

Constructs a new SnmpUnsignedInt from the specified long value.

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

public SnmpUnsignedInt (Long v)

Constructs a new SnmpUnsignedInt 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 String getTypeName ()

Returns a textual description of the type object.

Returns
  • ASN.1 textual description.