|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsnmp.SNMPObject
snmp.SNMPUnknownObject
Used when an unknown SNMP object type is encountered. Just takes a byte array for its constructor, and uses this as raw bytes.
| Field Summary | |
protected byte |
tag
|
| Constructor Summary | |
SNMPUnknownObject(byte[] enc)
Just takes a byte array, and uses this as raw bytes. |
|
| Method Summary | |
protected byte[] |
getBEREncoding()
Return the BER encoding of this object. |
java.lang.Object |
getValue()
Return a byte array containing the raw bytes supplied. |
void |
setValue(java.lang.Object data)
Takes a byte array containing the raw bytes stored as the value. |
java.lang.String |
toString()
Return String created from raw bytes of this object. |
| Methods inherited from class snmp.SNMPObject |
equals, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected byte tag
| Constructor Detail |
public SNMPUnknownObject(byte[] enc)
| Method Detail |
public java.lang.Object getValue()
getValue in class SNMPObject
public void setValue(java.lang.Object data)
throws SNMPBadValueException
setValue in class SNMPObjectSNMPBadValueExceptionprotected byte[] getBEREncoding()
getBEREncoding 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 | ||||||||||