java.lang.Object | ||
↳ | com.sun.jmx.snmp.agent.SnmpMibNode | |
↳ | com.sun.jmx.snmp.agent.SnmpMibEntry |
![]() |
Represents a node in an SNMP MIB which corresponds to a table entry meta node.
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.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generic handling of the
check operation. | |||||||||||
Generic handling of the
get operation. | |||||||||||
Get the next OID arc corresponding to a readable scalar variable.
| |||||||||||
Tells whether the given arc identifies a readable scalar object in
this entry.
| |||||||||||
Tells whether the given arc identifies a variable (scalar object) in
this entry.
| |||||||||||
Generic handling of the
set operation. | |||||||||||
Checks whether the given OID arc identifies a variable (columnar
object).
|
[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. |
---|
Get the next OID arc corresponding to a readable scalar variable.
id | Id we start from looking for the next. |
---|---|
userData | A contextual object containing user-data.
This object is allocated through the
for each incoming SNMP request. |
SnmpStatusException |
---|
Tells whether the given arc identifies a readable scalar object in this entry.
arc | An OID arc. |
---|
true
if `arc' leads to a readable variable.
Tells whether the given arc identifies a variable (scalar object) in this entry.
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 (columnar object).
userData | A contextual object containing user-data.
This object is allocated through the
for each incoming SNMP request. |
---|
the given `arc' does not identify any variable in this group, throws an SnmpStatusException. | |
SnmpStatusException |