| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SnmpOidDatabase
Defines the minimal functionality that should be provided by
 a class containing a set of SnmpOidTable objects containing metadata definitions for MIB variables.
 Each SnmpOidTable should contain information on variables of one MIB.
 The SnmpOidDatabase is a "repository" of SnmpOidTable.
 It extends the SnmpOidTable interface in order to provide resolution of the MIB variables.
 
SnmpOidTable| Method Summary | |
|---|---|
 void | 
add(SnmpOidTable table)
Adds an SnmpOidTable object in this SnmpOidDatabase. | 
 Vector | 
getAllEntries()
Returns a list that can be used to traverse all the entries of the SnmpOidTable objects
 of this SnmpOidDatabase. | 
 void | 
remove(SnmpOidTable table)
Removes an SnmpOidTable object from this SnmpOidDatabase. | 
 void | 
removeAll()
Removes all the SnmpOidTable objects from this SnmpOidDatabase. | 
 SnmpOidRecord | 
resolveVarName(String name)
Searches for a MIB variable given its logical name and returns an SnmpOidRecord 
 object containing information on the variable. | 
 SnmpOidRecord | 
resolveVarOid(String oid)
Searches for a MIB variable given its OID and returns an SnmpOidRecord object containing 
 information on the variable. | 
| Method Detail | 
|---|
void add(SnmpOidTable table)
SnmpOidTable object in this SnmpOidDatabase.
table - The table to add.
void remove(SnmpOidTable table)
            throws SnmpStatusException
SnmpOidTable object from this SnmpOidDatabase.
table - The table to be removed.
SnmpStatusExceptionvoid removeAll()
SnmpOidTable objects from this SnmpOidDatabase.
SnmpOidRecord resolveVarName(String name)
                             throws SnmpStatusException
SnmpOidRecord 
 object containing information on the variable.
resolveVarName in interface SnmpOidTablename - The name of the MIB variable.
SnmpOidRecord object containing information on the variable.
SnmpStatusException - If the variable is not found.
SnmpOidRecord resolveVarOid(String oid)
                            throws SnmpStatusException
SnmpOidRecord object containing 
 information on the variable.
resolveVarOid in interface SnmpOidTableoid - The OID of the MIB variable.
SnmpOidRecord object containing information on the variable.
SnmpStatusException - If the variable is not found.Vector getAllEntries()
SnmpOidTable objects
 of this SnmpOidDatabase.
getAllEntries in interface SnmpOidTableSnmpOidTable objects containing all the elements of this SnmpOidDatabase.
  | 
Open Source build 02  opendmk-1.0-b02 2007.10.01_19:17:46_MEST  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||