| |
|
| java.lang.Object snmp.SNMPObject snmp.SNMPInteger snmp.SNMPUInteger32
SNMPUInteger32 | public class SNMPUInteger32 extends SNMPInteger (Code) | | Defines a 32-bit unsigned integer value; wraps if initialized with a larger value.
See Also: snmp.SNMPInteger |
Constructor Summary | |
public | SNMPUInteger32() Initialize value to 0. | public | SNMPUInteger32(long newValue) Initialize value to newValue; wrap if newValue too big for 32 bits. | protected | SNMPUInteger32(byte[] enc) Used to initialize from the BER encoding, usually received in a response from
an SNMP device responding to an SNMPGetRequest.
throws: SNMPBadValueException - Indicates an invalid BER encoding supplied. |
Method Summary | |
public void | setValue(Object newValue) Used to set the value with an instance of java.lang.Integer or
java.lang.BigInteger. |
SNMPUInteger32 | public SNMPUInteger32()(Code) | | Initialize value to 0.
|
SNMPUInteger32 | public SNMPUInteger32(long newValue)(Code) | | Initialize value to newValue; wrap if newValue too big for 32 bits.
|
SNMPUInteger32 | protected SNMPUInteger32(byte[] enc) throws SNMPBadValueException(Code) | | Used to initialize from the BER encoding, usually received in a response from
an SNMP device responding to an SNMPGetRequest.
throws: SNMPBadValueException - Indicates an invalid BER encoding supplied. Shouldn'toccur in normal operation, i.e., when valid responses are received from devices. |
setValue | public void setValue(Object newValue) throws SNMPBadValueException(Code) | | 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.
throws: SNMPBadValueException - Indicates an incorrect object type supplied. |
|
|
|