|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The logical link between an SNMP MIB and the SNMP communication stack. This interface is for INTERNAL USE ONLY, don't use it.
Method Summary | |
SnmpMibHandler |
addMib(SnmpMibAgent mib)
Adds a new MIB in the SNMP MIB handler. |
SnmpMibHandler |
addMib(SnmpMibAgent mib,
SnmpOid[] oids)
Adds a new MIB in the SNMP MIB handler. |
SnmpMibHandler |
addMib(SnmpMibAgent mib,
String contextName)
Adds a new contextualized MIB in the SNMP MIB handler. |
SnmpMibHandler |
addMib(SnmpMibAgent mib,
String contextName,
SnmpOid[] oids)
Adds a new contextualized MIB in the SNMP MIB handler. |
boolean |
removeMib(SnmpMibAgent mib)
Removes the specified MIB from the SNMP protocol adaptor. |
boolean |
removeMib(SnmpMibAgent mib,
SnmpOid[] oids)
Removes the specified MIB from the SNMP protocol adaptor. |
boolean |
removeMib(SnmpMibAgent mib,
String contextName)
Removes the specified MIB from the SNMP protocol adaptor. |
boolean |
removeMib(SnmpMibAgent mib,
String contextName,
SnmpOid[] oids)
Removes the specified MIB from the SNMP protocol adaptor. |
Method Detail |
public SnmpMibHandler addMib(SnmpMibAgent mib) throws IllegalArgumentException
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler)
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName)
and should not be called directly.
mib
- The MIB to add.
IllegalArgumentException
- If the parameter is null.public SnmpMibHandler addMib(SnmpMibAgent mib, SnmpOid[] oids) throws IllegalArgumentException
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler, SnmpOid[])
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName, SnmpOid[])
and should not be called directly.
mib
- The MIB to add.oids
- The array of oid used to add the mib. Each oid is a root oid for the mib.
IllegalArgumentException
- If the parameter is null.public SnmpMibHandler addMib(SnmpMibAgent mib, String contextName) throws IllegalArgumentException
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler, String)
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName, String)
and should not be called directly.
mib
- The MIB to add.contextName
- The MIB context name. If null is passed, will be registered in the default context.
IllegalArgumentException
- If the parameter is null.public SnmpMibHandler addMib(SnmpMibAgent mib, String contextName, SnmpOid[] oids) throws IllegalArgumentException
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler, String, SnmpOid[])
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName, String, SnmpOid[])
and should not be called directly.
mib
- The MIB to add.contextName
- The MIB context name. If null is passed, will be registered in the default context.oids
- The array of oid used to add the mib. Each oid is a root oid for the mib.
IllegalArgumentException
- If the parameter is null.public boolean removeMib(SnmpMibAgent mib)
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler)
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName)
and should not be called directly.
mib
- The MIB to be removed.
true
if the specified mib
was a MIB included in the SNMP MIB handler,
false
otherwise.public boolean removeMib(SnmpMibAgent mib, SnmpOid[] oids)
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler)
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName)
and should not be called directly.
mib
- The MIB to be removed.oids
- The oid the MIB was previously registered for.
true
if the specified mib
was a MIB included in the SNMP MIB handler,
false
otherwise.public boolean removeMib(SnmpMibAgent mib, String contextName)
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler, String)
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName, String)
and should not be called directly.
mib
- The MIB to be removed.contextName
- The context name used at registration time.
true
if the specified mib
was a MIB included in the SNMP MIB handler,
false
otherwise.public boolean removeMib(SnmpMibAgent mib, String contextName, SnmpOid[] oids)
SnmpMibAgent.setSnmpAdaptor(SnmpMibHandler, String, SnmpOid[])
and
SnmpMibAgent.setSnmpAdaptorName(ObjectName, String, SnmpOid[])
and should not be called directly.
mib
- The MIB to be removed.contextName
- The context name used at registration time.oids
- The oid the MIB was previously registered for.
true
if the specified mib
was a MIB included in the SNMP MIB handler,
false
otherwise.
|
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 |