|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsnmp.SNMPObject
Abstract base class of all SNMP data type classes.
Constructor Summary | |
SNMPObject()
|
Method Summary | |
protected abstract byte[] |
getBEREncoding()
Must return the BER byte encoding (type, length, value) of the SNMP object. |
abstract java.lang.Object |
getValue()
Must return a Java object appropriate to represent the value/data contained in the SNMP object |
abstract void |
setValue(java.lang.Object o)
Must set the value of the SNMP object when supplied with an appropriate Java object containing an appropriate value. |
abstract java.lang.String |
toString()
Should return an appropriate human-readable representation of the stored value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SNMPObject()
Method Detail |
public abstract java.lang.Object getValue()
public abstract void setValue(java.lang.Object o) throws SNMPBadValueException
SNMPBadValueException
public abstract java.lang.String toString()
protected abstract byte[] getBEREncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |