com.sun.jmx.snmp.agent.SnmpMibHandler |
![]() |
The logical link between an SNMP MIB and the SNMP communication stack.
This API is a Sun Microsystems internal API and is subject to change without notice.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new contextualized MIB in the SNMP MIB handler.
| |||||||||||
Adds a new MIB in the SNMP MIB handler.
| |||||||||||
Adds a new MIB in the SNMP MIB handler.
| |||||||||||
Adds a new contextualized MIB in the SNMP MIB handler.
| |||||||||||
Removes the specified MIB from the SNMP protocol adaptor.
| |||||||||||
Removes the specified MIB from the SNMP protocol adaptor.
| |||||||||||
Removes the specified MIB from the SNMP protocol adaptor.
| |||||||||||
Removes the specified MIB from the SNMP protocol adaptor.
|
Adds a new contextualized MIB in the SNMP MIB handler.
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. |
---|
Adds a new MIB in the SNMP MIB handler.
This method is called automatically by setSnmpAdaptor(SnmpMibHandler)
and
setSnmpAdaptorName(ObjectName)
and should not be called directly.
mib | The MIB to add. |
---|
IllegalArgumentException | If the parameter is null. |
---|
Adds a new MIB in the SNMP MIB handler.
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. |
---|
Adds a new contextualized MIB in the SNMP MIB handler.
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. |
---|
Removes the specified MIB from the SNMP protocol adaptor.
This method is called automatically by setSnmpAdaptor(SnmpMibHandler)
and
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.
Removes the specified MIB from the SNMP protocol adaptor.
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.Removes the specified MIB from the SNMP protocol adaptor.
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.Removes the specified MIB from the SNMP protocol adaptor.
This method is called automatically by setSnmpAdaptor(SnmpMibHandler)
and
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.