|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
com.sun.management.snmp.agent in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
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)
Deprecated. Adds a new MIB in the SNMP MIB handler. |
SnmpMibHandler |
addMib(SnmpMibAgent mib,
SnmpOid[] oids)
Deprecated. Adds a new MIB in the SNMP MIB handler. |
SnmpMibHandler |
addMib(SnmpMibAgent mib,
String contextName)
Deprecated. Adds a new contextualized MIB in the SNMP MIB handler. |
SnmpMibHandler |
addMib(SnmpMibAgent mib,
String contextName,
SnmpOid[] oids)
Deprecated. Adds a new contextualized MIB in the SNMP MIB handler. |
boolean |
removeMib(SnmpMibAgent mib)
Deprecated. Removes the specified MIB from the SNMP protocol adaptor. |
boolean |
removeMib(SnmpMibAgent mib,
SnmpOid[] oids)
Deprecated. Removes the specified MIB from the SNMP protocol adaptor. |
boolean |
removeMib(SnmpMibAgent mib,
String contextName)
Deprecated. Removes the specified MIB from the SNMP protocol adaptor. |
boolean |
removeMib(SnmpMibAgent mib,
String contextName,
SnmpOid[] oids)
Deprecated. 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 | ||||||||||