java.lang.Object | |||
↳ | com.sun.jmx.snmp.agent.SnmpMibNode | ||
↳ | com.sun.jmx.snmp.agent.SnmpMibOid | ||
↳ | com.sun.jmx.snmp.agent.SnmpMibGroup |
![]() |
![]() |
Represents a node in an SNMP MIB which corresponds to a group. This class allows subnodes to be registered below a group, providing support for nested groups. The subnodes are registered at run time when registering the nested groups in the global MIB OID tree.
This class is used 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.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
subgroups |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generic handling of the
check operation. | |||||||||||
Generic handling of the
get operation. | |||||||||||
Computes the root OID of the MIB.
| |||||||||||
Gets the table identified by the given `arc'.
| |||||||||||
Tell whether the given OID arc identifies a sub-tree
leading to a nested SNMP sub-group.
| |||||||||||
Tells whether the given arc identifies a readable scalar object in
this group.
| |||||||||||
Tells whether the given arc identifies a table in this group.
| |||||||||||
Tells whether the given arc identifies a variable (scalar object) in
this group.
| |||||||||||
Generic handling of the
set operation. | |||||||||||
Checks whether the given OID arc identifies a variable (scalar
object).
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Register an OID arc that identifies a scalar object or a table.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Generic handling of the check
operation.
The actual implementation of this method will be generated by mibgen. Usually, this implementation only delegates the job to some other provided runtime class, which knows how to access the MBean. The current toolkit thus provides two implementations:
Both implementations rely upon specific - and distinct, set of mibgen generated methods.
You can override this method if you need to implement some specific policies for minimizing the accesses made to some remote underlying resources, or if you need to implement some consistency checks between the different values provided in the varbind list.
req | The sub-request that must be handled by this node. |
---|---|
depth | The depth reached in the OID tree. |
SnmpStatusException | An error occurred while accessing the MIB node. |
---|
Generic handling of the get
operation.
The actual implementation of this method will be generated by mibgen. Usually, this implementation only delegates the job to some other provided runtime class, which knows how to access the MBean. The current toolkit thus provides two implementations:
Both implementations rely upon specific - and distinct, set of mibgen generated methods.
You can override this method if you need to implement some specific policies for minimizing the accesses made to some remote underlying resources.
req | The sub-request that must be handled by this node. |
---|---|
depth | The depth reached in the OID tree. |
SnmpStatusException | An error occurred while accessing the MIB node. |
---|
Gets the table identified by the given `arc'.
arc | An OID arc. |
---|
SnmpMibTable
identified by `arc', or
null
if `arc' does not identify any table.
Tell whether the given OID arc identifies a sub-tree leading to a nested SNMP sub-group. This method is used internally. You shouldn't need to call it directly.
arc | An OID arc. |
---|
true
if the given OID arc identifies a subtree
leading to a nested SNMP sub-group.
Tells whether the given arc identifies a readable scalar object in this group.
arc | An OID arc. |
---|
true
if `arc' leads to a readable variable.
Tells whether the given arc identifies a table in this group.
arc | An OID arc. |
---|
true
if `arc' leads to a table.
Tells whether the given arc identifies a variable (scalar object) in this group.
arc | An OID arc. |
---|
true
if `arc' leads to a variable.
Generic handling of the set
operation.
The actual implementation of this method will be generated by mibgen. Usually, this implementation only delegates the job to some other provided runtime class, which knows how to access the MBean. The current toolkit thus provides two implementations:
Both implementations rely upon specific - and distinct, set of mibgen generated methods.
You can override this method if you need to implement some specific policies for minimizing the accesses made to some remote underlying resources.
req | The sub-request that must be handled by this node. |
---|---|
depth | The depth reached in the OID tree. |
SnmpStatusException | An error occurred while accessing the MIB node. |
---|
Checks whether the given OID arc identifies a variable (scalar object).
the given `arc' does not identify any variable in this group, throws an SnmpStatusException. | |
SnmpStatusException |
Register an OID arc that identifies a scalar object or a table. This method is used internally. You shouldn't ever call it directly.
arc | An OID arc. |
---|
IllegalAccessException |
---|