Methods Summary |
---|
public java.util.Enumeration | getElements()Return the list of varbind to be handled by the SNMP MIB node.
Note:
In case of SET operation, if this node is a table row which
contains a control variable (as identified by the table's
isRowStatus() method) the control variable will not
be included in this list: it will be obtained by calling
getRowStatusVarBind(). This will allow you to handle the control
variable specifically.
You will never need to worry about this unless you need to
implement a non standard mechanism for handling row
creation and deletion.
|
public com.sun.jmx.snmp.SnmpOid | getEntryOid()Return the part of the OID identifying the table entry involved.
|
public com.sun.jmx.snmp.SnmpVarBind | getRowStatusVarBind()Return the varbind that holds the RowStatus variable.
It corresponds to the varbind that was identified by
the isRowStatus() method generated by mibgen
on {@link com.sun.jmx.snmp.agent.SnmpMibTable} derivatives.
- In SMIv2, it is the varbind which contains the columnar
object implementing the RowStatus TEXTUAL-CONVENTION.
- In SMIv1 nothing special is generated
You may however subclass the generated table metadata
class in order to provide your own implementation of
isRowStatus(), getRowAction(), isRowReady() and
setRowStatus()
(see {@link com.sun.jmx.snmp.agent.SnmpMibTable}).
|
public java.util.Vector | getSubList()Return the list of varbind to be handled by the SNMP MIB node.
Note:
In case of SET operation, if this node is a table row which
contains a control variable (as identified by the table's
isRowStatus() method) the control variable will not
be included in this list: it will be obtained by calling
getRowStatusVarBind(). This will allow you to handle the control
variable specifically.
You will never need to worry about this unless you need to
implement a non standard mechanism for handling row
creation and deletion.
|
public boolean | isNewEntry()Indicate whether the entry involved is a new entry.
This method will return true if the entry was not
found when the request was processed. As a consequence,
true means that either the entry does not exist yet,
or it has been created while processing this request.
The result of this method is only significant when an entry
is involved.
|
public void | registerCheckException(com.sun.jmx.snmp.SnmpVarBind varbind, com.sun.jmx.snmp.SnmpStatusException exception)This method should be called when a status exception needs to
be raised when checking a given varbind for an SNMP SET request.
This method performs all the necessary conversions (SNMPv1 <=>
SNMPv2) and propagates the exception if needed.
This method also takes care of setting the correct value of the
index field.
|
public void | registerGetException(com.sun.jmx.snmp.SnmpVarBind varbind, com.sun.jmx.snmp.SnmpStatusException exception)This method should be called when a status exception needs to
be raised for a given varbind of an SNMP GET request. This method
performs all the necessary conversions (SNMPv1 <=> SNMPv2) and
propagates the exception if needed:
If the version is SNMP v1, the exception is propagated.
If the version is SNMP v2, the exception is stored in the varbind.
This method also takes care of setting the correct value of the
index field.
|
public void | registerSetException(com.sun.jmx.snmp.SnmpVarBind varbind, com.sun.jmx.snmp.SnmpStatusException exception)This method should be called when a status exception needs to
be raised for a given varbind of an SNMP SET request. This method
performs all the necessary conversions (SNMPv1 <=> SNMPv2) and
propagates the exception if needed.
This method also takes care of setting the correct value of the
index field.
|