Known Direct Subclasses
SnmpMibGroup |
Represents a node in an SNMP MIB which corresponds to a group. |
|
Known Indirect Subclasses
JvmClassLoadingMeta |
The class is used for representing SNMP metadata for the "JvmClassLoading" group. |
JvmCompilationMeta |
The class is used for representing SNMP metadata for the "JvmCompilation" group. |
JvmMemoryMeta |
The class is used for representing SNMP metadata for the "JvmMemory" group. |
JvmMemoryMetaImpl |
The class is used for representing SNMP metadata for the "JvmMemory" group. |
JvmOSMeta |
The class is used for representing SNMP metadata for the "JvmOS" group. |
JvmRuntimeMeta |
The class is used for representing SNMP metadata for the "JvmRuntime" group. |
JvmRuntimeMetaImpl |
The class is used for representing SNMP metadata for the "JvmRuntime" group. |
JvmThreadingMeta |
The class is used for representing SNMP metadata for the "JvmThreading" group. |
JvmThreadingMetaImpl |
The class is used for representing SNMP metadata for the "JvmThreading"
group. |
|
Class Overview
Represents a node in an SNMP MIB which is neither a group nor a variable.
This class defines a list of sub-nodes and the methods that allow to
manipulate the sub-nodes.
This class is used internally and by the class generated by
mibgen
.
You should not need to use this class directly.
This API is a Sun Microsystems internal API and is subject
to change without notice.
Summary
Public Constructors |
|
SnmpMibOid()
Default constructor.
|
[Expand]
Inherited Methods |
From class
com.sun.jmx.snmp.agent.SnmpMibNode
abstract
void
|
check(SnmpMibSubRequest req, int depth)
Generic handling of the check operation.
|
abstract
void
|
get(SnmpMibSubRequest req, int depth)
Generic handling of the get operation.
|
final
static
int
|
getNextIdentifier(int[] table, long value)
This will give the first element greater than value
in a sorted array.
|
long
|
getNextVarId(long id, Object userData, int pduVersion)
Get the next OID arc corresponding to a readable scalar variable,
a branch leading to a subgroub, or a table, possibly skipping over
those arcs that must not or cannot be returned.
|
long
|
getNextVarId(long id, Object userData)
Get the next OID arc corresponding to a readable scalar variable,
a branch leading to a subgroub, or a table.
|
void
|
getRootOid(Vector<Integer> result)
Computes the root OID of the MIB.
|
abstract
void
|
set(SnmpMibSubRequest req, int depth)
Generic handling of the set operation.
|
boolean
|
skipVariable(long id, Object userData, int pduVersion)
Hook for subclasses.
|
static
void
|
sort(int[] array)
Sorts the specified integer array.
|
|
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 Methods
public
void
check
(SnmpMibSubRequest req, int depth)
Generic handling of the check
operation.
This method should be overridden in subclasses.
Parameters
req
| The sub-request that must be handled by this node. |
depth
| The depth reached in the OID tree. |
Throws
SnmpStatusException
| The default implementation (if not
overriden) is to generate a SnmpStatusException.
|
Generic handling of the get
operation.
This method should be overridden in subclasses.
Parameters
req
| The sub-request that must be handled by this node. |
depth
| The depth reached in the OID tree. |
Throws
SnmpStatusException
| The default implementation (if not
overridden) is to generate a SnmpStatusException.
|
public
void
getRootOid
(Vector<Integer> result)
Computes the root OID of the MIB.
public
void
registerNode
(String oidString, SnmpMibNode node)
Registers a specific node in the tree.
Generic handling of the set
operation.
This method should be overridden in subclasses.
Parameters
req
| The sub-request that must be handled by this node. |
depth
| The depth reached in the OID tree. |
Throws
SnmpStatusException
| The default implementation (if not
overridden) is to generate a SnmpStatusException.
|