Adds a new MIB in the SNMP MIB handler.
This method is called automatically by {@link com.sun.jmx.snmp.agent.SnmpMibAgent#setSnmpAdaptor(SnmpMibHandler)} and
{@link com.sun.jmx.snmp.agent.SnmpMibAgent#setSnmpAdaptorName(ObjectName)} and should not be called directly.
param
mib The MIB to add.
return
A reference on the SNMP MIB handler.
exception
IllegalArgumentException If the parameter is null.
Removes the specified MIB from the SNMP protocol adaptor.
This method is called automatically by {@link com.sun.jmx.snmp.agent.SnmpMibAgent#setSnmpAdaptor(SnmpMibHandler)} and
{@link com.sun.jmx.snmp.agent.SnmpMibAgent#setSnmpAdaptorName(ObjectName)} and should not be called directly.
param
mib The MIB to be removed.
return
true if the specified mib was a MIB included in the SNMP MIB handler,
false otherwise.
Removes the specified MIB from the SNMP protocol adaptor.
This method is called automatically by {@link com.sun.jmx.snmp.agent.SnmpMibAgent#setSnmpAdaptor(SnmpMibHandler)} and
{@link com.sun.jmx.snmp.agent.SnmpMibAgent#setSnmpAdaptorName(ObjectName)} and should not be called directly.
param
mib The MIB to be removed.
param
oids The oid the MIB was previously registered for.
return
true if the specified mib was a MIB included in the SNMP MIB handler,
false otherwise.