public interface MOTableRowFactory<R extends MOTableRow>
MOTableRowFactoryis used to create and delete rows for a table model.
R createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable values) throws UnsupportedOperationException
MOTableRowrow instance and returns it.
index- the index OID for the new row.
values- the values to be contained in the new row.
UnsupportedOperationException- if the specified row cannot be created.
void freeRow(R row)
row- a MOTableRow that has been created using this factory and is now to be deleted (removed from the associated table).
Copyright © 2016 SNMP4J.org. All rights reserved.