|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JMXTableSupport
The JMXTableSupport defines the necessary interface to
map tabular JMX data to a SNMP4J-Agent table model. The interface
takes care of mapping JMX row identifiers to SNMP table indexes and vice
versa.
| Method Summary | |
|---|---|
org.snmp4j.smi.OID |
getLastIndex(org.snmp4j.smi.OID tableOID)
Gets the last SNMP index currently supported by the specified table. |
int |
getRow(org.snmp4j.smi.OID tableOID,
org.snmp4j.agent.mo.MOTableRow row)
Gets the row values for the specified row. |
int |
getRowCount(org.snmp4j.smi.OID tableOID)
Returns the number of rows of the specified table. |
org.snmp4j.smi.OID |
mapToIndex(org.snmp4j.smi.OID tableOID,
java.lang.Object nativeRowID,
int nativeIndex)
Maps a native MBean row identifier object or index to a SNMP table index OID. |
java.lang.Object |
mapToRowId(org.snmp4j.smi.OID tableOID,
org.snmp4j.smi.OID rowIndex)
Maps a SNMP row index to a native row identifier object. |
java.util.Iterator |
rowIdIterator(org.snmp4j.smi.OID tableOID)
Returns an Iterator over the row identifiers of the table. |
java.util.Iterator |
rowIdTailIterator(org.snmp4j.smi.OID tableOID,
java.lang.Object firstRowId)
Returns a tail iterator over the row identifiers of the table. |
int |
setRow(org.snmp4j.smi.OID tableOID,
org.snmp4j.agent.mo.MOTableRow row,
int column)
Sets the value of a column (cell) of a row from the corresponding SNMP conceptual row. |
| Method Detail |
|---|
org.snmp4j.smi.OID mapToIndex(org.snmp4j.smi.OID tableOID,
java.lang.Object nativeRowID,
int nativeIndex)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.nativeRowID - the native row ID object which identifies the row. If null
then nativeIndex identifies the row.nativeIndex - the native enumerating index if rows are not identified by an object.
java.lang.Object mapToRowId(org.snmp4j.smi.OID tableOID,
org.snmp4j.smi.OID rowIndex)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.rowIndex - a SNMP row index of the table specified by tableOID.
java.util.Iterator rowIdIterator(org.snmp4j.smi.OID tableOID)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.
java.util.Iterator rowIdTailIterator(org.snmp4j.smi.OID tableOID,
java.lang.Object firstRowId)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.firstRowId - the lower bound (including) of the row identifiers to return.
org.snmp4j.smi.OID getLastIndex(org.snmp4j.smi.OID tableOID)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.
int getRowCount(org.snmp4j.smi.OID tableOID)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.
int getRow(org.snmp4j.smi.OID tableOID,
org.snmp4j.agent.mo.MOTableRow row)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.row - a MOTableRow instance which will be modified to hold the
SNMP values of the row specified by row's index value.
int setRow(org.snmp4j.smi.OID tableOID,
org.snmp4j.agent.mo.MOTableRow row,
int column)
tableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.row - a MOTableRow instance that identifies the target row by its
row index (indirectly) and that contains the SNMP values that replace
the corresponding native values.column - the zero-based column index to set.
|
Copyright 2006-2007 Frank Fock (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||