|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.management.snmp.agent.SnmpMibNode
com.sun.management.snmp.agent.SnmpMibOid
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.
| Field Summary |
| Fields inherited from class com.sun.management.snmp.agent.SnmpMibNode |
noSuchInstanceException, noSuchNameException, noSuchObjectException, varList |
| Constructor Summary | |
SnmpMibOid()
Default constructor. |
|
| Method Summary | |
void |
check(SnmpMibSubRequest req,
int depth)
Generic handling of the check operation. |
void |
get(SnmpMibSubRequest req,
int depth)
Generic handling of the get operation. |
void |
getRootOid(Vector result)
Computes the root OID of the MIB. |
void |
registerNode(String oidString,
SnmpMibNode node)
Registers a specific node in the tree. |
void |
set(SnmpMibSubRequest req,
int depth)
Generic handling of the set operation. |
| Methods inherited from class com.sun.management.snmp.agent.SnmpMibNode |
getNextIdentifier, getNextVarId, getNextVarId, skipVariable, sort |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SnmpMibOid()
| Method Detail |
public void get(SnmpMibSubRequest req,
int depth)
throws SnmpStatusException
get operation.
This method should be overridden in subclasses.
get in class SnmpMibNodereq - The sub-request that must be handled by this node.depth - The depth reached in the OID tree.
SnmpStatusException - The default implementation (if not
overridden) is to generate a SnmpStatusException.
public void set(SnmpMibSubRequest req,
int depth)
throws SnmpStatusException
set operation.
This method should be overridden in subclasses.
set in class SnmpMibNodereq - The sub-request that must be handled by this node.depth - The depth reached in the OID tree.
SnmpStatusException - The default implementation (if not
overridden) is to generate a SnmpStatusException.
public void check(SnmpMibSubRequest req,
int depth)
throws SnmpStatusException
check operation.
This method should be overridden in subclasses.
check in class SnmpMibNodereq - The sub-request that must be handled by this node.depth - The depth reached in the OID tree.
SnmpStatusException - The default implementation (if not
overridden) is to generate a SnmpStatusException.public void getRootOid(Vector result)
getRootOid in class SnmpMibNode
public void registerNode(String oidString,
SnmpMibNode node)
throws IllegalAccessException
IllegalAccessException
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||