All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Snmp.MibNode

java.lang.Object
   |
   +----Snmp.MibNode

public class MibNode
extends Object
This class represents a MIB node in a MIB module tree. It is derived from parsing a MIB module. It contains references to it's parents and children.


Variable Index

 o access
Access for this node
 o childList
Nodes children as a vector
 o defval
The defined defval as is defined in the MIB (not parsed).
 o description
Description of node
 o indexNames
Index names defined for this node
 o label
The name of this MIB Node
 o moduleName
The name of the MIB module this node is defined
 o parent
Nodes Parent
 o reference
String reference for the node
 o rowName
The name of the row sequence
 o status
Status of this node
 o subid
The subid of this MIB Node
 o syntax
The syntax associated with this node.
 o tableItems
The names of the items in the row sequence
 o tableSequence
The name in the SEQUENCE OF "name" item

Constructor Index

 o MibNode()

Method Index

 o getNextLeafNode()
This returns the next leaf node by searching through the current module.
 o getNumberedOIDString()
Returns the numbered OID string of the node, e.g.
 o getOID()
Returns the numbered OID of the node as an array
 o getOIDString()
Returns the named OID of the node, e.g.
 o getOIDVector()
Returns the named OID of the node as a vector
 o getOIDVectorIds()
Returns the numbered OID of the node as a vector of longs
 o printAccess()
return the access value as a string
 o printDescription()
return the Description string
 o printIndex()
return the Index Names value as a Vector
 o printReference()
return the Reverence string
 o printStatus()
return the value as a string
 o toString()
Returns the string name of the node, i.e.
 o toTagString()
Returns a long string with many details on the node, much like the MIB definition itself.

Variables

 o moduleName
 public String moduleName
The name of the MIB module this node is defined

 o label
 public String label
The name of this MIB Node

 o subid
 public long subid
The subid of this MIB Node

 o childList
 public Vector childList
Nodes children as a vector

 o parent
 public MibNode parent
Nodes Parent

 o syntax
 public LeafSyntax syntax
The syntax associated with this node. Is in module syntaxList if a TC, or basic

 o access
 public int access
Access for this node

 o status
 public String status
Status of this node

 o description
 public String description
Description of node

 o reference
 public String reference
String reference for the node

 o indexNames
 public Vector indexNames
Index names defined for this node

 o defval
 public String defval
The defined defval as is defined in the MIB (not parsed).

 o tableSequence
 public String tableSequence
The name in the SEQUENCE OF "name" item

 o rowName
 public String rowName
The name of the row sequence

 o tableItems
 public Vector tableItems
The names of the items in the row sequence

Constructors

 o MibNode
 public MibNode()

Methods

 o toString
 public String toString()
Returns the string name of the node, i.e. label

Overrides:
toString in class Object
 o toTagString
 public String toTagString()
Returns a long string with many details on the node, much like the MIB definition itself. Includes the complete string name of the node, i.e. OID, and the Syntax, ...

 o getOID
 public long[] getOID()
Returns the numbered OID of the node as an array

 o getOIDString
 public String getOIDString()
Returns the named OID of the node, e.g. .iso.org...

 o getNumberedOIDString
 public String getNumberedOIDString()
Returns the numbered OID string of the node, e.g. .1.3.6...

 o getOIDVector
 public Vector getOIDVector()
Returns the named OID of the node as a vector

 o getOIDVectorIds
 public Vector getOIDVectorIds()
Returns the numbered OID of the node as a vector of longs

 o printAccess
 public String printAccess()
return the access value as a string

 o printStatus
 public String printStatus()
return the value as a string

 o printDescription
 public String printDescription()
return the Description string

 o printReference
 public String printReference()
return the Reverence string

 o printIndex
 public Vector printIndex()
return the Index Names value as a Vector

 o getNextLeafNode
 public MibNode getNextLeafNode()
This returns the next leaf node by searching through the current module. This is useful for agents looking for the OID or label for the next MIB node for getnext requests. This assumes the MIB module file objects were defined in the desired order.


All Packages  Class Hierarchy  This Package  Previous  Next  Index