|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--snmp.SNMPObject | +--snmp.SNMPNull
Object representing the SNMP Null data type.
Constructor Summary | |
SNMPNull()
|
Method Summary | |
byte[] |
getBEREncoding()
Return BER encoding for a null object: two bytes, tag and length of 0. |
java.lang.Object |
getValue()
Returns Java null reference. |
void |
setValue(java.lang.Object o)
Always throws SNMPBadValueException (which null value did you want, anyway?) |
java.lang.String |
toString()
Returns String "Null".. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SNMPNull()
Method Detail |
public java.lang.Object getValue()
getValue
in class SNMPObject
public void setValue(java.lang.Object o) throws SNMPBadValueException
setValue
in class SNMPObject
public byte[] getBEREncoding()
getBEREncoding
in class SNMPObject
public java.lang.String toString()
toString
in class SNMPObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |