|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsnmp.SNMPObject
snmp.SNMPNull
Object representing the SNMP Null data type.
| Field Summary | |
protected byte |
tag
|
| Constructor Summary | |
SNMPNull()
|
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
Checks just that both are instances of SNMPNull (no embedded value to check). |
protected 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 snmp.SNMPObject |
hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected byte tag
| 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 SNMPObjectSNMPBadValueExceptionprotected byte[] getBEREncoding()
getBEREncoding in class SNMPObjectpublic boolean equals(java.lang.Object other)
equals in class SNMPObjectpublic java.lang.String toString()
toString in class SNMPObject
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||