- 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 DefaultMOMutableRow2PC
createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
Creates a newMOMutableRow2PC
row instance and returns it.void
freeRow(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 newMOMutableRow2PC
row instance and returns it.- Specified by:
createRow
in interfaceMOTableRowFactory<DefaultMOMutableRow2PC>
- Parameters:
index
- the index OID for the new row.values
- the values to be contained in the new row.- Returns:
- the created
DefaultMOMutableRow2PC
by default. - Throws:
UnsupportedOperationException
- if the specified row cannot be created.
-
freeRow
public void freeRow(DefaultMOMutableRow2PC row)
Description copied from interface:MOTableRowFactory
Frees resources associated with the supplied row which is to be deleted.- Specified by:
freeRow
in interfaceMOTableRowFactory<DefaultMOMutableRow2PC>
- Parameters:
row
- a MOTableRow that has been created using this factory and is now to be deleted (removed from the associated table).
-
-