|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.management.snmp.SnmpValue
public abstract class SnmpValue
Is an abstract representation of an SNMP Value. All classes provided for dealing with SNMP types should derive from this class.
Field Summary |
---|
Fields inherited from interface com.sun.management.snmp.SnmpDataTypeEnums |
---|
ApplFlag, BitStringTag, BooleanTag, Counter64Tag, CounterTag, CtxtFlag, errEndOfMibViewTag, errNoSuchInstanceTag, errNoSuchObjectTag, GaugeTag, IntegerTag, IpAddressTag, NsapTag, NullTag, ObjectIdentiferTag, ObjectIdentifierTag, OctetStringTag, OpaqueTag, SequenceTag, TableTag, TimeticksTag, UintegerTag, UnknownSyntaxTag |
Constructor Summary | |
---|---|
SnmpValue()
|
Method Summary | |
---|---|
abstract SnmpValue |
duplicate()
Same as clone, but you cannot perform cloning using this object because clone is protected. |
abstract String |
getTypeName()
Returns a textual description of the object. |
boolean |
isEndOfMibViewValue()
This method returns false by default and is redefined
in the SnmpNull class. |
boolean |
isNoSuchInstanceValue()
This method returns false by default and is redefined
in the SnmpNull class. |
boolean |
isNoSuchObjectValue()
This method returns false by default and is redefined
in the SnmpNull class. |
String |
toAsn1String()
Returns a String form containing ASN.1 tagging information. |
abstract SnmpOid |
toOid()
Returns the value encoded as an OID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SnmpValue()
Method Detail |
---|
public String toAsn1String()
String
form containing ASN.1 tagging information.
String
form.public abstract SnmpOid toOid()
public abstract String getTypeName()
public abstract SnmpValue duplicate()
clone()
.
SnmpValue
clone.public boolean isNoSuchObjectValue()
false
by default and is redefined
in the SnmpNull
class.
public boolean isNoSuchInstanceValue()
false
by default and is redefined
in the SnmpNull
class.
public boolean isEndOfMibViewValue()
false
by default and is redefined
in the SnmpNull
class.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |