|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jdmk.snmp.agent.SnmpMibNode
com.sun.jdmk.snmp.agent.SnmpMibOid
com.sun.management.snmp.agent
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
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.jdmk.snmp.agent.SnmpMibNode |
noSuchInstanceException, noSuchNameException, noSuchObjectException, varList |
Constructor Summary | |
SnmpMibOid()
Deprecated. Default constructor. |
Method Summary | |
void |
check(SnmpMibSubRequest req,
int depth)
Deprecated. Generic handling of the check operation. |
void |
get(SnmpMibSubRequest req,
int depth)
Deprecated. Generic handling of the get operation. |
void |
getRootOid(Vector result)
Deprecated. Computes the root OID of the MIB. |
void |
registerNode(String oidString,
SnmpMibNode node)
Deprecated. Registers a specific node in the tree. |
void |
set(SnmpMibSubRequest req,
int depth)
Deprecated. Generic handling of the set operation. |
Methods inherited from class com.sun.jdmk.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 SnmpMibNode
req
- 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 SnmpMibNode
req
- 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 SnmpMibNode
req
- 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.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |