|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.snmp.SnmpValue
javax.management.snmp.SnmpInt
javax.management.snmp.SnmpUnsignedInt
javax.management.snmp.SnmpCounter
com.sun.management.snmp
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Represents an SNMP counter.
Field Summary |
Fields inherited from class javax.management.snmp.SnmpUnsignedInt |
MAX_VALUE |
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 | |
SnmpCounter(int v)
Deprecated. Constructs a new SnmpCounter from the specified integer value. |
|
SnmpCounter(Integer v)
Deprecated. Constructs a new SnmpCounter from the specified Integer value. |
|
SnmpCounter(long v)
Deprecated. Constructs a new SnmpCounter from the specified long value. |
|
SnmpCounter(Long v)
Deprecated. Constructs a new SnmpCounter 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 |
Constructor Detail |
public SnmpCounter(int v) throws IllegalArgumentException
SnmpCounter
from the specified integer value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.public SnmpCounter(Integer v) throws IllegalArgumentException
SnmpCounter
from the specified Integer
value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.public SnmpCounter(long v) throws IllegalArgumentException
SnmpCounter
from the specified long value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.public SnmpCounter(Long v) throws IllegalArgumentException
SnmpCounter
from the specified Long
value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.Method Detail |
public final String getTypeName()
getTypeName
in class SnmpUnsignedInt
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |