FileDocCategorySizeDatePackage
SnmpValue.javaAPI DocJava SE 6 API2309Tue Jun 10 00:22:06 BST 2008com.sun.jmx.snmp

SnmpValue

public abstract class SnmpValue extends Object implements Serializable, Cloneable, SnmpDataTypeEnums
Is an abstract representation of an SNMP Value. All classes provided for dealing with SNMP types should derive from this class.

This API is a Sun Microsystems internal API and is subject to change without notice.

version
4.10 11/17/05
author
Sun Microsystems, Inc

Fields Summary
Constructors Summary
Methods Summary
public abstract com.sun.jmx.snmp.SnmpValueduplicate()
Same as clone, but you cannot perform cloning using this object because clone is protected. This method should call clone().

return
The SnmpValue clone.

public abstract java.lang.StringgetTypeName()
Returns a textual description of the object.

return
ASN.1 textual description.

public booleanisEndOfMibViewValue()
This method returns false by default and is redefined in the {@link com.sun.jmx.snmp.SnmpNull} class.

        return false;
    
public booleanisNoSuchInstanceValue()
This method returns false by default and is redefined in the {@link com.sun.jmx.snmp.SnmpNull} class.

        return false;
    
public booleanisNoSuchObjectValue()
This method returns false by default and is redefined in the {@link com.sun.jmx.snmp.SnmpNull} class.

        return false;
    
public java.lang.StringtoAsn1String()
Returns a String form containing ASN.1 tagging information.

return
The String form.

	return "[" + getTypeName() + "] " + toString();
    
public abstract SnmpOidtoOid()
Returns the value encoded as an OID. The method is particularly useful when dealing with indexed table made of several SNMP variables.

return
The value encoded as an OID.