|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--snmp.SNMPObject
|
+--snmp.SNMPInteger
|
+--snmp.SNMPUInteger32
Defines a 32-bit unsigned integer value; wraps if initialized with a larger value.
SNMPInteger| Field Summary | |
protected byte |
tag
|
| Fields inherited from class snmp.SNMPInteger |
value |
| Constructor Summary | |
SNMPUInteger32()
Initialize value to 0. |
|
SNMPUInteger32(byte[] enc)
Used to initialize from the BER encoding, usually received in a response from an SNMP device responding to an SNMPGetRequest. |
|
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 snmp.SNMPInteger |
extractValueFromBEREncoding, getBEREncoding, getValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected byte tag
| Constructor Detail |
public SNMPUInteger32()
public SNMPUInteger32(long newValue)
public SNMPUInteger32(byte[] enc)
throws SNMPBadValueException
SNMPBadValueException - Indicates an invalid BER encoding supplied. Shouldn't
occur in normal operation, i.e., when valid responses are received from devices.| Method Detail |
public void setValue(java.lang.Object newValue)
throws SNMPBadValueException
setValue in class SNMPIntegerSNMPBadValueException - Indicates an incorrect object type supplied.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||