|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.jdmk.snmp.SnmpOidDatabaseSupport
com.sun.management.snmp in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Defines a set of SnmpOidTable objects containing metadata definitions for MIB variables.
Each SnmpOidTable should contain information on variables of one MIB.
It provides resolution of all MIB variables contained in the SnmpOidTable objects.
| Constructor Summary | |
SnmpOidDatabaseSupport()
Deprecated. Creates an empty SnmpOidDatabaseSupport. |
|
SnmpOidDatabaseSupport(SnmpOidTable table)
Deprecated. Creates an SnmpOidDatabaseSupport containing the specified SnmpOidTable object. |
|
| Method Summary | |
void |
add(SnmpOidTable table)
Deprecated. Adds a SnmpOidTable object in this SnmpOidDatabase. |
Vector |
getAllEntries()
Deprecated. Returns a list that can be used to traverse all the entries of the SnmpOidTable objects
of this SnmpOidDatabase. |
void |
remove(SnmpOidTable table)
Deprecated. Removes a SnmpOidTable object from this SnmpOidDatabase. |
void |
removeAll()
Deprecated. Removes all SnmpOidTable objects from this SnmpOidDatabase. |
SnmpOidRecord |
resolveVarName(String name)
Deprecated. Searches for a MIB variable given its logical name and returns an SnmpOidRecord
object containing information on the variable. |
SnmpOidRecord |
resolveVarOid(String oid)
Deprecated. Searches for a MIB variable given its OID and returns an SnmpOidRecord object containing
information on the variable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SnmpOidDatabaseSupport()
SnmpOidDatabaseSupport.
public SnmpOidDatabaseSupport(SnmpOidTable table)
SnmpOidDatabaseSupport containing the specified SnmpOidTable object.
table - The SnmpOidTable object used to initialize this SnmpOidDatabaseSupport.| Method Detail |
public void add(SnmpOidTable table)
SnmpOidTable object in this SnmpOidDatabase.
add in interface SnmpOidDatabasetable - The table to add.
public void remove(SnmpOidTable table)
throws SnmpStatusException
SnmpOidTable object from this SnmpOidDatabase.
remove in interface SnmpOidDatabasetable - The table to be removed.
SnmpStatusException - The specified SnmpOidTable does not exist in this SnmpOidDatabase.
public SnmpOidRecord resolveVarName(String name)
throws SnmpStatusException
SnmpOidRecord
object containing information on the variable.
resolveVarName in interface SnmpOidDatabasename - The name of the MIB variable.
SnmpOidRecord object containing information on the variable.
SnmpStatusException - The specified name does not exist in this SnmpOidDatabase
public SnmpOidRecord resolveVarOid(String oid)
throws SnmpStatusException
SnmpOidRecord object containing
information on the variable.
resolveVarOid in interface SnmpOidDatabaseoid - The OID of the MIB variable.
SnmpOidRecord object containing information on the variable.
SnmpStatusException - The specified oid does not exist in this SnmpOidDatabase.public Vector getAllEntries()
SnmpOidTable objects
of this SnmpOidDatabase.
getAllEntries in interface SnmpOidDatabaseSnmpOidTable objects containing all the elements of this SnmpOidDatabase.public void removeAll()
SnmpOidTable objects from this SnmpOidDatabase.
removeAll in interface SnmpOidDatabase
|
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 | ||||||||||