Interface SnmpTableRO<IC extends SnmpProxyIndexColumn,C extends SnmpProxyColumn,IT,T,R extends SnmpProxyRow<IT,T>>

Type Parameters:
IC - the index proxy column type for the table proxy.
C - the proxy column type fo the table proxy.
IT - the model value type for index columns.
T - the model value type for the columnar model values.
R - the proxy row type for the rows of the table.
All Superinterfaces:
SnmpProxyObject, SnmpTableUpdateListener<R>, TableModel
All Known Subinterfaces:
SnmpTable<C,IC,IT,T,R>
All Known Implementing Classes:
SnmpTableImpl, SnmpTableImplRO

public interface SnmpTableRO<IC extends SnmpProxyIndexColumn,C extends SnmpProxyColumn,IT,T,R extends SnmpProxyRow<IT,T>> extends SnmpProxyObject, TableModel, SnmpTableUpdateListener<R>
The SnmpTableRO object is a proxy to for a read-only SNMP table object.
Author:
Frank Fock
  • Method Details

    • getOID

      org.snmp4j.smi.OID getOID()
      Gets the table entry OID (thus including the .1 suffix) for the associated SNMP table.
      Specified by:
      getOID in interface SnmpProxyObject
      Returns:
      the table entry OID.
    • getColumns

      List<C> getColumns()
      Gets the list of columnar proxy objects of this table.
      Returns:
      the list of column proxy objects.
    • getIndexColumns

      List<IC> getIndexColumns()
      Gets the list of index columnar proxy objects of this table.
      Returns:
      the list of index column proxy objects.
    • setPageSize

      void setPageSize(int numRows)
      Sets the page size for this table. For any value greater than zero, the TableModel will view only a single page of rows of this proxy table.
      Parameters:
      numRows - the number of rows in the table.
    • getPageSize

      int getPageSize()
      Gets the page size.
      Returns:
      the maximum number of rows in a page. If zero or less is returned, then there is no limit.
    • setCurrentIndex

      void setCurrentIndex(int startPos)
    • getCurrentIndex

      int getCurrentIndex()
    • setRowFilter

      void setRowFilter(SnmpProxyRowFilter rowFilter)
    • getRowFilter

      SnmpProxyRowFilter getRowFilter()
    • setMinIndex

      void setMinIndex(Object[] minIndex)
    • getMinIndex

      Object[] getMinIndex()
    • getIndexVariableBindings

      List<org.snmp4j.smi.VariableBinding> getIndexVariableBindings(org.snmp4j.smi.OID index)
    • getRowFactory

      SnmpProxyRowFactory<R,IT,T> getRowFactory()
    • getRowNumber

      int getRowNumber(org.snmp4j.smi.OID index)
    • getColumnNumber

      int getColumnNumber(org.snmp4j.smi.OID columnOID)
    • getTableColumnModel

      TableColumnModel getTableColumnModel(int maxCharacterPixelWidth, int maxColumnCharacters)
    • addError

      void addError(List<SnmpValuesChangeSet> valuesChangeSets, SnmpErrorStatus errorStatus, int errorIndex)
    • getError

      SnmpErrorStatus getError(org.snmp4j.smi.OID rowIndex, int column)
    • clearAllErrors

      void clearAllErrors()
    • clearError

      SnmpErrorStatus clearError(org.snmp4j.smi.OID rowIndex)
    • getRowIndexes

      List<org.snmp4j.smi.OID> getRowIndexes()
    • getRowIndex

      org.snmp4j.smi.OID getRowIndex(int rowNumber)
    • getCell

      SnmpCell getCell(org.snmp4j.smi.OID instanceOID)