Class Overview
Represents an SNMP null value.
This API is a Sun Microsystems internal API and is subject
to change without notice.
Summary
[Expand]
Inherited Constants |
From interface
com.sun.jmx.snmp.SnmpDataTypeEnums
int |
ApplFlag |
|
int |
BitStringTag |
|
int |
BooleanTag |
|
int |
Counter64Tag |
|
int |
CounterTag |
|
int |
CtxtFlag |
|
int |
GaugeTag |
|
int |
IntegerTag |
|
int |
IpAddressTag |
|
int |
NsapTag |
|
int |
NullTag |
|
int |
ObjectIdentiferTag |
|
int |
OctetStringTag |
|
int |
OpaqueTag |
|
int |
SequenceTag |
|
int |
TableTag |
|
int |
TimeticksTag |
|
int |
UintegerTag |
|
int |
UnknownSyntaxTag |
|
int |
errEndOfMibViewTag |
|
int |
errNoSuchInstanceTag |
|
int |
errNoSuchObjectTag |
|
|
Public Constructors |
|
SnmpNull()
Constructs a new SnmpNull .
|
|
SnmpNull(String dummy)
Constructs a new SnmpNull .
|
|
SnmpNull(int t)
Constructs a new SnmpNull from the specified tag value.
|
Public Methods |
synchronized
final
Object
|
clone()
Clones the SnmpNull object, making a copy of its data.
|
synchronized
final
SnmpValue
|
duplicate()
Performs a clone action.
|
int
|
getTag()
Returns the tag value of this SnmpNull .
|
final
String
|
getTypeName()
Returns a textual description of the type object.
|
boolean
|
isEndOfMibViewValue()
Checks if this SnmpNull object corresponds to an endOfMibView value.
|
boolean
|
isNoSuchInstanceValue()
Checks if this SnmpNull object corresponds to a noSuchInstance value.
|
boolean
|
isNoSuchObjectValue()
Checks if this SnmpNull object corresponds to a noSuchObject value.
|
SnmpOid
|
toOid()
Converts the NULL value to its SnmpOid form.
|
String
|
toString()
Converts the NULL value to its ASN.1 String form.
|
[Expand]
Inherited Methods |
From class
com.sun.jmx.snmp.SnmpValue
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Public Constructors
public
SnmpNull
()
Constructs a new SnmpNull
.
public
SnmpNull
(String dummy)
Constructs a new SnmpNull
.
For mibgen private use only.
public
SnmpNull
(int t)
Constructs a new SnmpNull
from the specified tag value.
Parameters
t
| The initialization value.
|
Public Methods
public
final
synchronized
Object
clone
()
Clones the SnmpNull
object, making a copy of its data.
public
final
synchronized
SnmpValue
duplicate
()
Performs a clone action. This provides a workaround for the
SnmpValue
interface.
public
int
getTag
()
Returns the tag value of this SnmpNull
.
public
final
String
getTypeName
()
Returns a textual description of the type object.
Returns
- ASN.1 textual description.
public
boolean
isEndOfMibViewValue
()
Checks if this SnmpNull
object corresponds to an endOfMibView
value.
public
boolean
isNoSuchInstanceValue
()
Checks if this SnmpNull
object corresponds to a noSuchInstance
value.
public
boolean
isNoSuchObjectValue
()
Checks if this SnmpNull
object corresponds to a noSuchObject
value.
public
SnmpOid
toOid
()
Converts the NULL
value to its SnmpOid
form.
Normally, a NULL
value cannot be used as an index value,
this method triggers an exception.
Returns
- The OID representation of the value.
public
String
toString
()
Converts the NULL
value to its ASN.1 String
form.
When the tag is not the universal one, it is preprended
to the String
form.
Returns
- The
String
representation of the value.