|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object snmp.SNMPObject
Abstract base class of all SNMP data type classes.
Constructor Summary | |
SNMPObject()
|
Method Summary | |
boolean |
equals(java.lang.Object other)
Compares two SNMPObject subclass objects by checking their values for equality. |
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 |
int |
hashCode()
Generates a hash value so SNMP objects can be used in Hashtables. |
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, finalize, getClass, 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()
public boolean equals(java.lang.Object other)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |