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.
-
access
- Access for this node
-
childList
- Nodes children as a vector
-
defval
- The defined defval as is defined in the MIB (not parsed).
-
description
- Description of node
-
indexNames
- Index names defined for this node
-
label
- The name of this MIB Node
-
moduleName
- The name of the MIB module this node is defined
-
parent
- Nodes Parent
-
reference
- String reference for the node
-
rowName
- The name of the row sequence
-
status
- Status of this node
-
subid
- The subid of this MIB Node
-
syntax
- The syntax associated with this node.
-
tableItems
- The names of the items in the row sequence
-
tableSequence
- The name in the SEQUENCE OF "name" item
-
MibNode()
-
-
getNextLeafNode()
- This returns the next leaf node by searching through the current
module.
-
getNumberedOIDString()
- Returns the numbered OID string of the node, e.g.
-
getOID()
- Returns the numbered OID of the node as an array
-
getOIDString()
- Returns the named OID of the node, e.g.
-
getOIDVector()
- Returns the named OID of the node as a vector
-
getOIDVectorIds()
- Returns the numbered OID of the node as a vector of longs
-
printAccess()
- return the access value as a string
-
printDescription()
- return the Description string
-
printIndex()
- return the Index Names value as a Vector
-
printReference()
- return the Reverence string
-
printStatus()
- return the value as a string
-
toString()
- Returns the string name of the node, i.e.
-
toTagString()
- Returns a long string with many details on the node, much like the
MIB definition itself.
moduleName
public String moduleName
- The name of the MIB module this node is defined
label
public String label
- The name of this MIB Node
subid
public long subid
- The subid of this MIB Node
childList
public Vector childList
- Nodes children as a vector
parent
public MibNode parent
- Nodes Parent
syntax
public LeafSyntax syntax
- The syntax associated with this node. Is in module syntaxList if a TC, or basic
access
public int access
- Access for this node
status
public String status
- Status of this node
description
public String description
- Description of node
reference
public String reference
- String reference for the node
indexNames
public Vector indexNames
- Index names defined for this node
defval
public String defval
- The defined defval as is defined in the MIB (not parsed).
tableSequence
public String tableSequence
- The name in the SEQUENCE OF "name" item
rowName
public String rowName
- The name of the row sequence
tableItems
public Vector tableItems
- The names of the items in the row sequence
MibNode
public MibNode()
toString
public String toString()
- Returns the string name of the node, i.e. label
- Overrides:
- toString in class Object
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, ...
getOID
public long[] getOID()
- Returns the numbered OID of the node as an array
getOIDString
public String getOIDString()
- Returns the named OID of the node, e.g. .iso.org...
getNumberedOIDString
public String getNumberedOIDString()
- Returns the numbered OID string of the node, e.g. .1.3.6...
getOIDVector
public Vector getOIDVector()
- Returns the named OID of the node as a vector
getOIDVectorIds
public Vector getOIDVectorIds()
- Returns the numbered OID of the node as a vector of longs
printAccess
public String printAccess()
- return the access value as a string
printStatus
public String printStatus()
- return the value as a string
printDescription
public String printDescription()
- return the Description string
printReference
public String printReference()
- return the Reverence string
printIndex
public Vector printIndex()
- return the Index Names value as a Vector
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