public class

SnmpMibOid

extends SnmpMibNode
implements Serializable
java.lang.Object
   ↳ com.sun.jmx.snmp.agent.SnmpMibNode
     ↳ com.sun.jmx.snmp.agent.SnmpMibOid
Known Direct Subclasses
Known Indirect Subclasses

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

[Expand]
Inherited Fields
From class com.sun.jmx.snmp.agent.SnmpMibNode
Public Constructors
SnmpMibOid()
Default constructor.
Public Methods
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<Integer> 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.
[Expand]
Inherited Methods
From class com.sun.jmx.snmp.agent.SnmpMibNode
From class java.lang.Object

Public Constructors

public SnmpMibOid ()

Default constructor.

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.

public void get (SnmpMibSubRequest req, int depth)

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.

public void set (SnmpMibSubRequest req, int depth)

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.