|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--snmp.mibdb.MibDatabase
This class is the external interface to access the MIB database.
Constructor Summary | |
MibDatabase()
|
Method Summary | |
static MibDatabase |
create(java.lang.String mibFile)
Creates the singleton MibDatabase object from the passed MIB file. |
static MibDatabase |
getInstance()
Gets the singleton object of the MibDatabase. |
abstract OidRecord |
getOidRecord(java.lang.String oid)
Retrieves the OidRecord that matches to the passed OID string in the MIB database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MibDatabase()
Method Detail |
public abstract OidRecord getOidRecord(java.lang.String oid) throws SnmpException
oid
- OID string
SnmpException
- Thrown if there is no such OID record.public static MibDatabase create(java.lang.String mibFile) throws SnmpException
mibFile
- The MIB file name.
SnmpException
public static MibDatabase getInstance() throws SnmpException
SnmpException
|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |