All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aka.snmp.MibManager

java.lang.Object
   |
   +----aka.snmp.MibManager

public class MibManager
extends Object
Responsible for holding the heirachy of managed objects. Reads them in from a number of different formats

See Also:
SnmpObject

Variable Index

 o _tableID
 o _tableName

Constructor Index

 o MibManager()
Constructor

Method Index

 o baseForm(String)
Converts a SNMP ID represented in a dot notation that contains SNMP Object names and numbers, to one containing only numbers.
 o contains(ObjectId)
Returns SNMP Object with this ID
 o containsName(String)
If SNMP Object is present with this name, returns SNMP ID of object.
 o dump()
Dumps all SNMP Objects to standard output.
 o dump2()
Dumps all SNMP Objects to standard output.
 o insertObject(SnmpObject)
Insert a new object into the MIB
 o main(String[])
Test harness
 o reduceToName(ObjectId)
Reduces the SNMP ID to the name, with instance variables attached

Variables

 o _tableName
 protected Hashtable _tableName
 o _tableID
 protected Hashtable _tableID

Constructors

 o MibManager
 public MibManager()
Constructor

Methods

 o insertObject
 public boolean insertObject(SnmpObject obj)
Insert a new object into the MIB

 o dump
 public void dump()
Dumps all SNMP Objects to standard output.

 o dump2
 public void dump2()
Dumps all SNMP Objects to standard output. Different means of access

 o containsName
 public ObjectId containsName(String name)
If SNMP Object is present with this name, returns SNMP ID of object.

 o contains
 public SnmpObject contains(ObjectId id)
Returns SNMP Object with this ID

 o reduceToName
 public String reduceToName(ObjectId id)
Reduces the SNMP ID to the name, with instance variables attached

 o baseForm
 public ObjectId baseForm(String id)
Converts a SNMP ID represented in a dot notation that contains SNMP Object names and numbers, to one containing only numbers. It does this using SNMP Objects currently stored.

 o main
 public static void main(String args[])
Test harness


All Packages  Class Hierarchy  This Package  Previous  Next  Index