public abstract class AbstractJMXTableSupport extends Object implements JMXTableSupport
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.snmp4j.smi.OID,org.snmp4j.agent.mo.jmx.AbstractJMXTableSupport.JMXTableDetailSupport> |
columnValueMappings |
| Constructor and Description |
|---|
AbstractJMXTableSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.snmp4j.smi.OID tableOID,
JMXRowSupport rowSupport,
JMXColumnSupport columnSupport) |
JMXColumnSupport |
getColumnSupport(org.snmp4j.smi.OID tableOID) |
abstract 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.
|
abstract int |
getRowCount(org.snmp4j.smi.OID tableOID)
Returns the number of rows of the specified table.
|
JMXRowSupport |
getRowSupport(org.snmp4j.smi.OID tableOID) |
protected org.snmp4j.agent.mo.jmx.AbstractJMXTableSupport.JMXTableDetailSupport |
getTableDetailSupport(org.snmp4j.smi.OID tableOID) |
abstract org.snmp4j.smi.OID |
mapToIndex(org.snmp4j.smi.OID tableOID,
Object rowIdentifier) |
abstract Object |
mapToRowId(org.snmp4j.smi.OID tableOID,
org.snmp4j.smi.OID rowIndex)
Maps a SNMP row index to a native row identifier object.
|
org.snmp4j.agent.mo.jmx.AbstractJMXTableSupport.JMXTableDetailSupport |
removeDetailSupport(org.snmp4j.smi.OID tableOID) |
abstract Iterator |
rowIdIterator(org.snmp4j.smi.OID tableOID)
Returns an Iterator over the row identifiers of the table.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmpty, mapToIndex, rowIdTailIterator, setRowprotected Map<org.snmp4j.smi.OID,org.snmp4j.agent.mo.jmx.AbstractJMXTableSupport.JMXTableDetailSupport> columnValueMappings
public void add(org.snmp4j.smi.OID tableOID,
JMXRowSupport rowSupport,
JMXColumnSupport columnSupport)
public org.snmp4j.agent.mo.jmx.AbstractJMXTableSupport.JMXTableDetailSupport removeDetailSupport(org.snmp4j.smi.OID tableOID)
public abstract org.snmp4j.smi.OID getLastIndex(org.snmp4j.smi.OID tableOID)
JMXTableSupportgetLastIndex in interface JMXTableSupporttableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.public int getRow(org.snmp4j.smi.OID tableOID,
org.snmp4j.agent.mo.MOTableRow row)
JMXTableSupportgetRow in interface JMXTableSupporttableOID - 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.protected org.snmp4j.agent.mo.jmx.AbstractJMXTableSupport.JMXTableDetailSupport getTableDetailSupport(org.snmp4j.smi.OID tableOID)
public JMXRowSupport getRowSupport(org.snmp4j.smi.OID tableOID)
public JMXColumnSupport getColumnSupport(org.snmp4j.smi.OID tableOID)
public abstract int getRowCount(org.snmp4j.smi.OID tableOID)
JMXTableSupportgetRowCount in interface JMXTableSupporttableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.public abstract Iterator rowIdIterator(org.snmp4j.smi.OID tableOID)
JMXTableSupportrowIdIterator in interface JMXTableSupporttableOID - the OID of the table ManagedObject (including the .1 of the entry
object) for which indexes are mapped.public abstract org.snmp4j.smi.OID mapToIndex(org.snmp4j.smi.OID tableOID,
Object rowIdentifier)
public abstract Object mapToRowId(org.snmp4j.smi.OID tableOID, org.snmp4j.smi.OID rowIndex)
JMXTableSupportmapToRowId in interface JMXTableSupporttableOID - 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.Copyright © 2015 SNMP4J.org. All rights reserved.