All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.snmp.common.SnmpUnsignedInt
java.lang.Object
|
+----com.sun.jaw.snmp.common.SnmpValue
|
+----com.sun.jaw.snmp.common.SnmpInt
|
+----com.sun.jaw.snmp.common.SnmpUnsignedInt
- public abstract class SnmpUnsignedInt
- extends SnmpInt
The SnmpUnsignedInt class is the base for
all SNMP syntaxes base on unsigned integer.
-
SnmpUnsignedInt(Integer)
- Construct a new SnmpUnsignedInt from the specified Integer value.
-
SnmpUnsignedInt(Long)
- Construct a new SnmpUnsignedInt from the specified Long value.
-
SnmpUnsignedInt(long)
- Construct a new SnmpUnsignedInt from the specified int value.
-
getTypeName()
- Returns a textual description of the object.
-
longValue()
- Return the integer value as a long.
-
toLong()
- Return the Long form.
SnmpUnsignedInt
public SnmpUnsignedInt(long v) throws IllegalArgumentException
- Construct a new SnmpUnsignedInt from the specified int value.
- Parameters:
- v - The initialization value.
- Throws: IllegalArgumentException
- The specified value is negative.
SnmpUnsignedInt
public SnmpUnsignedInt(Integer v) throws IllegalArgumentException
- Construct a new SnmpUnsignedInt from the specified Integer value.
- Parameters:
- v - The initialization value.
- Throws: IllegalArgumentException
- The specified value is negative.
SnmpUnsignedInt
public SnmpUnsignedInt(Long v) throws IllegalArgumentException
- Construct a new SnmpUnsignedInt from the specified Long value.
- Parameters:
- v - The initialization value.
- Throws: IllegalArgumentException
- The specified value is negative.
toLong
public Long toLong()
- Return the Long form.
longValue
public long longValue()
- Return the integer value as a long.
getTypeName
public String getTypeName()
- Returns a textual description of the object.
- Returns:
- ASN.1 textual description.
- Overrides:
- getTypeName in class SnmpInt
All Packages Class Hierarchy This Package Previous Next Index