Module org.snmp4j.agent
Package org.snmp4j.agent.mo
Interface MOTableRowFactory<R extends MOTableRow>
-
- Type Parameters:
R- the base type ofMOTableRowthis factory creates.
- All Known Subinterfaces:
MOMutableTableModel<R>
- All Known Implementing Classes:
DefaultMOFactory,DefaultMOMutableRow2PCFactory,DefaultMOMutableTableModel,SimMOFactory,Snmp4jLogMib.Snmp4jLogConsoleHandlerEntryRowFactory,Snmp4jLogMib.Snmp4jLogFileHandlerEntryRowFactory,Snmp4jLogMib.Snmp4jLogHandlerEntryRowFactory,UsmMIB.UsmTableModel
public interface MOTableRowFactory<R extends MOTableRow>AMOTableRowFactoryis used to create and delete rows for a table model.- Version:
- 1.0
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RcreateRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)Creates a newMOTableRowrow instance and returns it.voidfreeRow(R row)Frees resources associated with the supplied row which is to be deleted.
-
-
-
Method Detail
-
createRow
R createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) throws UnsupportedOperationException
Creates a newMOTableRowrow 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:
UnsupportedOperationException- if the specified row cannot be created.
-
freeRow
void freeRow(R 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).
-
-