com.amx.duet.tools.net.snmp.api
Class SNMPUInteger32
java.lang.Object
com.amx.duet.tools.net.snmp.api.SNMPObject
com.amx.duet.tools.net.snmp.api.SNMPInteger
com.amx.duet.tools.net.snmp.api.SNMPUInteger32
- public class SNMPUInteger32
- extends SNMPInteger
Defines a 32-bit unsigned integer value; wraps if initialized with a larger value.
- See Also:
snmp.dr1_0_14.SNMPInteger
Constructor Summary |
SNMPUInteger32()
Initialize value to 0. |
SNMPUInteger32(long newValue)
Initialize value to newValue; wrap if newValue too big for 32 bits. |
Method Summary |
void |
setValue(java.lang.Object newValue)
Used to set the value with an instance of java.lang.Integer or
java.lang.BigInteger. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SNMPUInteger32
public SNMPUInteger32()
- Initialize value to 0.
SNMPUInteger32
public SNMPUInteger32(long newValue)
- Initialize value to newValue; wrap if newValue too big for 32 bits.
setValue
public void setValue(java.lang.Object newValue)
throws SNMPBadValueException
- Used to set the value with an instance of java.lang.Integer or
java.lang.BigInteger. The value of the constructed SNMPUInteger32 object is the
supplied value mod 2^32.
- Overrides:
setValue
in class SNMPInteger
- Throws:
SNMPBadValueException
- Indicates an incorrect object type supplied.
Copyright © 2008 AMX LLC. All Rights Reserved.