FileDocCategorySizeDatePackage
SnmpCounter.javaAPI DocJava SE 5 API2507Fri Aug 26 14:55:02 BST 2005com.sun.jmx.snmp

SnmpCounter

public class SnmpCounter extends SnmpUnsignedInt
Represents an SNMP counter.

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

version
4.8 12/19/03
author
Sun Microsystems, Inc

Fields Summary
static final String
name
Name of the type.
Constructors Summary
public SnmpCounter(int v)
Constructs a new SnmpCounter from the specified integer value.

param
v The initialization value.
exception
IllegalArgumentException The specified value is negative or larger than {@link SnmpUnsignedInt#MAX_VALUE SnmpUnsignedInt.MAX_VALUE}.

	super(v) ;
    
public SnmpCounter(Integer v)
Constructs a new SnmpCounter from the specified Integer value.

param
v The initialization value.
exception
IllegalArgumentException The specified value is negative or larger than {@link SnmpUnsignedInt#MAX_VALUE SnmpUnsignedInt.MAX_VALUE}.

	super(v) ;
    
public SnmpCounter(long v)
Constructs a new SnmpCounter from the specified long value.

param
v The initialization value.
exception
IllegalArgumentException The specified value is negative or larger than {@link SnmpUnsignedInt#MAX_VALUE SnmpUnsignedInt.MAX_VALUE}.

	super(v) ;
    
public SnmpCounter(Long v)
Constructs a new SnmpCounter from the specified Long value.

param
v The initialization value.
exception
IllegalArgumentException The specified value is negative or larger than {@link SnmpUnsignedInt#MAX_VALUE SnmpUnsignedInt.MAX_VALUE}.

	super(v) ;
    
Methods Summary
public final java.lang.StringgetTypeName()
Returns a textual description of the type object.

return
ASN.1 textual description.

	return name ;