- java.lang.Object
-
- org.snmp4j.agent.mo.DefaultMOMutableRow2PCFactory
-
- All Implemented Interfaces:
MOTableRowFactory<DefaultMOMutableRow2PC>
public class DefaultMOMutableRow2PCFactory extends Object implements MOTableRowFactory<DefaultMOMutableRow2PC>
-
-
Constructor Summary
Constructors Constructor Description DefaultMOMutableRow2PCFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultMOMutableRow2PCcreateRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)Creates a newMOMutableRow2PCrow instance and returns it.voidfreeRow(DefaultMOMutableRow2PC row)Frees resources associated with the supplied row which is to be deleted.
-
-
-
Method Detail
-
createRow
public DefaultMOMutableRow2PC createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) throws UnsupportedOperationException
Creates a newMOMutableRow2PCrow instance and returns it.- Specified by:
createRowin interfaceMOTableRowFactory<DefaultMOMutableRow2PC>- Parameters:
index- the index OID for the new row.values- the values to be contained in the new row.- Returns:
- the created
DefaultMOMutableRow2PCby default. - Throws:
UnsupportedOperationException- if the specified row cannot be created.
-
freeRow
public void freeRow(DefaultMOMutableRow2PC row)
Description copied from interface:MOTableRowFactoryFrees resources associated with the supplied row which is to be deleted.- Specified by:
freeRowin interfaceMOTableRowFactory<DefaultMOMutableRow2PC>- Parameters:
row- a MOTableRow that has been created using this factory and is now to be deleted (removed from the associated table).
-
-