| java.lang.Object snmp.SNMPObject
All known Subclasses: snmp.SNMPOctetString, snmp.SNMPSequence, snmp.SNMPObjectIdentifier, snmp.SNMPUnknownObject, snmp.SNMPInteger, snmp.SNMPNull,
SNMPObject | abstract public class SNMPObject (Code) | | Abstract base class of all SNMP data type classes.
|
Method Summary | |
public boolean | equals(Object other) Compares two SNMPObject subclass objects by checking their values for equality. | abstract protected byte[] | getBEREncoding() Must return the BER byte encoding (type, length, value) of the SNMP object. | abstract public Object | getValue() | public int | hashCode() Generates a hash value so SNMP objects can be used in Hashtables. | abstract public void | setValue(Object o) Must set the value of the SNMP object when supplied with an appropriate
Java object containing an appropriate value. | abstract public String | toString() Should return an appropriate human-readable representation of the stored value. |
equals | public boolean equals(Object other)(Code) | | Compares two SNMPObject subclass objects by checking their values for equality.
|
getBEREncoding | abstract protected byte[] getBEREncoding()(Code) | | Must return the BER byte encoding (type, length, value) of the SNMP object.
|
getValue | abstract public Object getValue()(Code) | | Must return a Java object appropriate to represent the value/data contained
in the SNMP object
|
hashCode | public int hashCode()(Code) | | Generates a hash value so SNMP objects can be used in Hashtables.
|
setValue | abstract public void setValue(Object o) throws SNMPBadValueException(Code) | | Must set the value of the SNMP object when supplied with an appropriate
Java object containing an appropriate value.
|
toString | abstract public String toString()(Code) | | Should return an appropriate human-readable representation of the stored value.
|
|
|