All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.snmp.common.SnmpValue

java.lang.Object
   |
   +----com.sun.jaw.snmp.common.SnmpValue

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


Constructor Index

 o SnmpValue()

Method Index

 o duplicate()
Same as clone, but you can not perform cloning using this object because clone is protected.
 o getTypeName()
Returns a textual description of the object.
 o toAsn1String()
Returns a string form containing ASN.1 tagging information.
 o toOid()
Returns the value encoded as an oid.

Constructors

 o SnmpValue
 public SnmpValue()

Methods

 o toAsn1String
 public String toAsn1String()
Returns a string form containing ASN.1 tagging information.

Returns:
The string form.
 o toOid
 public abstract SnmpOid toOid()
Returns the value encoded as an oid. The method is particular usefull when dealing with table indexed made of several SNMP variables.

Returns:
The string form.
 o getTypeName
 public abstract String getTypeName()
Returns a textual description of the object.

Returns:
ASN.1 textual description.
 o duplicate
 public abstract SnmpValue duplicate()
Same as clone, but you can not perform cloning using this object because clone is protected. This method should call clone().


All Packages  Class Hierarchy  This Package  Previous  Next  Index