org.snmp4j.agent.mo
Interface MOTableRowFactory

All Known Subinterfaces:
LinkedMOFactory, MOFactory, MOMutableTableModel
All Known Implementing Classes:
DefaultMOFactory, DefaultMOMutableRow2PCFactory, DefaultMOMutableTableModel, SimMOFactory, UsmMIB.UsmTableModel

public interface MOTableRowFactory

A MOTableRowFactory is used to create and delete rows for a table model.

Version:
1.0
Author:
Frank Fock

Method Summary
 MOTableRow createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
          Creates a new MOTableRow row instance and returns it.
 void freeRow(MOTableRow row)
          Frees resources associated with the supplied row which is to be deleted.
 

Method Detail

createRow

MOTableRow createRow(org.snmp4j.smi.OID index,
                     org.snmp4j.smi.Variable[] values)
                     throws java.lang.UnsupportedOperationException
Creates a new MOTableRow row instance and returns it.

Parameters:
index - the index OID for the new row.
values - the values to be contained in the new row.
Returns:
the created MOTableRow.
Throws:
java.lang.UnsupportedOperationException - if the specified row cannot be created.

freeRow

void freeRow(MOTableRow row)
Frees resources associated with the supplied row which is to be deleted.

Parameters:
row - a MOTableRow that has been created using this factory and is now to be deleted (removed from the associated table).

Copyright 2005-2008 Frank Fock (SNMP4J.org)