javax.management.snmp
Class SnmpUnsignedInt

java.lang.Object
  extended byjavax.management.snmp.SnmpValue
      extended byjavax.management.snmp.SnmpInt
          extended byjavax.management.snmp.SnmpUnsignedInt
All Implemented Interfaces:
Cloneable, Serializable, SnmpDataTypeEnums
Direct Known Subclasses:
SnmpCounter, SnmpGauge, SnmpTimeticks

Deprecated. Use package com.sun.management.snmp in preference to classes in this package. This class may be removed in a future version of Java DMK.

public abstract class SnmpUnsignedInt
extends SnmpInt

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

Version:
4.8 04/22/04
Author:
Sun Microsystems, Inc
See Also:
Serialized Form

Field Summary
static long MAX_VALUE
          Deprecated. The largest value of the type unsigned int (2^32 - 1).
 
Fields inherited from class javax.management.snmp.SnmpInt
value
 
Fields inherited from interface javax.management.snmp.SnmpDataTypeEnums
ApplFlag, BitStringTag, BooleanTag, Counter64Tag, CounterTag, CtxtFlag, errEndOfMibViewTag, errNoSuchInstanceTag, errNoSuchObjectTag, GaugeTag, IntegerTag, IpAddressTag, NsapTag, NullTag, ObjectIdentiferTag, OctetStringTag, OpaqueTag, SequenceTag, TableTag, TimeticksTag, UintegerTag, UnknownSyntaxTag
 
Constructor Summary
SnmpUnsignedInt(int v)
          Deprecated. Constructs a new SnmpUnsignedInt from the specified integer value.
SnmpUnsignedInt(Integer v)
          Deprecated. Constructs a new SnmpUnsignedInt from the specified Integer value.
SnmpUnsignedInt(long v)
          Deprecated. Constructs a new SnmpUnsignedInt from the specified long value.
SnmpUnsignedInt(Long v)
          Deprecated. Constructs a new SnmpUnsignedInt from the specified Long value.
 
Method Summary
 String getTypeName()
          Deprecated. Returns a textual description of the type object.
 
Methods inherited from class javax.management.snmp.SnmpInt
appendToOid, clone, duplicate, intValue, longValue, nextOid, toInteger, toLong, toOid, toOid, toString
 
Methods inherited from class javax.management.snmp.SnmpValue
isEndOfMibViewValue, isNoSuchInstanceValue, isNoSuchObjectValue, toAsn1String
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final long MAX_VALUE
Deprecated. 
The largest value of the type unsigned int (2^32 - 1).

See Also:
Constant Field Values
Constructor Detail

SnmpUnsignedInt

public SnmpUnsignedInt(int v)
                throws IllegalArgumentException
Deprecated. 
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.

SnmpUnsignedInt

public SnmpUnsignedInt(Integer v)
                throws IllegalArgumentException
Deprecated. 
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.

SnmpUnsignedInt

public SnmpUnsignedInt(long v)
                throws IllegalArgumentException
Deprecated. 
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.

SnmpUnsignedInt

public SnmpUnsignedInt(Long v)
                throws IllegalArgumentException
Deprecated. 
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.
Method Detail

getTypeName

public String getTypeName()
Deprecated. 
Returns a textual description of the type object.

Overrides:
getTypeName in class SnmpInt
Returns:
ASN.1 textual description.

FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.