|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jaw.snmp.common.SnmpValue | +--com.sun.jaw.snmp.common.SnmpNull
The SnmpNull
class represents an SNMP null value.
Field Summary | |
protected int |
tag
This is the tag of the NULL value. |
Constructor Summary | |
SnmpNull()
Constructs a new SnmpNull . |
|
SnmpNull(int t)
Constructs a new SnmpNull from the specified tag value. |
|
SnmpNull(java.lang.String dummy)
Constructs a new SnmpNull . |
Method Summary | |
java.lang.Object |
clone()
Clones the SnmpNull object, making a copy of its data. |
SnmpValue |
duplicate()
Performs a clone action. |
int |
getTag()
Returns the tag value of this SnmpNull . |
java.lang.String |
getTypeName()
Returns a textual description of the type object. |
SnmpOid |
toOid()
Converts the NULL value to its SnmpOid form. |
java.lang.String |
toString()
Converts the NULL value to its asn1 String form. |
Methods inherited from class com.sun.jaw.snmp.common.SnmpValue |
toAsn1String |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int tag
Constructor Detail |
public SnmpNull()
SnmpNull
.public SnmpNull(java.lang.String dummy)
SnmpNull
.
For mibgen private use only.dummy
- public SnmpNull(int t)
SnmpNull
from the specified tag value.t
- The initialization value.Method Detail |
public int getTag()
SnmpNull
.public java.lang.String toString()
String
form.
When the tag is not the universal one, it is preprend
to the String
form.String
representation of the value.public SnmpOid toOid()
SnmpOid
form.
Normally a NULL value cannot be used as an index value.
So this method trigger an exception.public final SnmpValue duplicate()
SnmpValue
interface.public final java.lang.Object clone()
SnmpNull
object, making a copy of its data.public final java.lang.String getTypeName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |