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.
-
SnmpValue()
-
-
duplicate()
- Same as clone, but you can not perform cloning using this object because
clone is protected.
-
getTypeName()
- Returns a textual description of the object.
-
toAsn1String()
- Returns a string form containing ASN.1 tagging information.
-
toOid()
- Returns the value encoded as an oid.
SnmpValue
public SnmpValue()
toAsn1String
public String toAsn1String()
- Returns a string form containing ASN.1 tagging information.
- Returns:
- The string form.
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.
getTypeName
public abstract String getTypeName()
- Returns a textual description of the object.
- Returns:
- ASN.1 textual description.
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