Methods Summary |
---|
public void | check(SnmpMibRequest req)Checks if a set operation can be performed.
If the operation cannot be performed, the method should emit a
SnmpStatusException .
|
public void | get(SnmpMibRequest req)Processes a get operation.
This method must not be called from remote.
|
public boolean | getBindingState()Indicates whether or not the MIB module is bound to a SNMP protocol
adaptor.
As a reminder, only bound MIBs can be accessed through SNMP protocol
adaptor.
|
public void | getBulk(SnmpMibRequest req, int nonRepeat, int maxRepeat)Processes a getBulk operation.
This method must not be called from remote.
|
public javax.management.MBeanServer | getMBeanServer()Gets the reference to the MBean server in which the SNMP MIB is
registered.
|
public java.lang.String | getMibName()Gets the MIB name.
|
public void | getNext(SnmpMibRequest req)Processes a getNext operation.
This method must not be called from remote.
|
public SnmpMibHandler | getSnmpAdaptor()Gets the reference to the SNMP protocol adaptor to which the MIB is
bound.
This method is used for accessing the SNMP MIB handler property
of the SNMP MIB agent in case of a standalone agent.
|
public javax.management.ObjectName | getSnmpAdaptorName()Gets the object name of the SNMP protocol adaptor to which the MIB is
bound.
|
public void | set(SnmpMibRequest req)Processes a set operation.
This method must not be called from remote.
|
public void | setSnmpAdaptor(SnmpMibHandler stack, java.lang.String contextName)Sets the reference to the SNMP protocol adaptor through which the MIB
will be SNMP accessible and add this new MIB in the SNMP MIB handler.
Adds a new contextualized MIB in the SNMP MIB handler.
|
public void | setSnmpAdaptor(SnmpMibHandler stack, java.lang.String contextName, com.sun.jmx.snmp.SnmpOid[] oids)Sets the reference to the SNMP protocol adaptor through which the MIB
will be SNMP accessible and adds this new MIB in the SNMP MIB handler.
Adds a new contextualized MIB in the SNMP MIB handler.
|
public void | setSnmpAdaptor(SnmpMibHandler stack)Sets the reference to the SNMP protocol adaptor through which the
MIB will be SNMP accessible and add this new MIB in the SNMP MIB
handler.
This method is used for setting the SNMP MIB handler property of
the SNMP MIB agent in case of a standalone agent.
|
public void | setSnmpAdaptor(SnmpMibHandler stack, com.sun.jmx.snmp.SnmpOid[] oids)Sets the reference to the SNMP protocol adaptor through which the MIB
will be SNMP accessible and add this new MIB in the SNMP MIB handler.
This method is to be called to set a specific agent to a specific OID.
This can be useful when dealing with MIB overlapping.
Some OID can be implemented in more than one MIB. In this case, the
OID nearer agent will be used on SNMP operations.
|
public void | setSnmpAdaptorName(javax.management.ObjectName name)Sets the reference to the SNMP protocol adaptor through which the MIB
will be SNMP accessible and add this new MIB in the SNMP MIB handler
associated to the specified name .
|
public void | setSnmpAdaptorName(javax.management.ObjectName name, com.sun.jmx.snmp.SnmpOid[] oids)Sets the reference to the SNMP protocol adaptor through which the MIB
will be SNMP accessible and add this new MIB in the SNMP MIB handler
associated to the specified name .
This method is to be called to set a specific agent to a specific OID.
This can be useful when dealing with MIB overlapping.
Some OID can be implemented in more than one MIB. In this case, the
OID nearer agent will be used on SNMP operations.
|
public void | setSnmpAdaptorName(javax.management.ObjectName name, java.lang.String contextName)Sets the reference to the SNMP protocol adaptor through which the MIB
will be SNMP accessible and add this new MIB in the SNMP MIB handler
associated to the specified name .
|
public void | setSnmpAdaptorName(javax.management.ObjectName name, java.lang.String contextName, com.sun.jmx.snmp.SnmpOid[] oids)Sets the reference to the SNMP protocol adaptor through which the MIB
will be SNMP accessible and add this new MIB in the SNMP MIB handler
associated to the specified name .
|