java.lang.Object
org.snmp4j.agent.mo.DefaultMOMutableRow2PCFactory
- All Implemented Interfaces:
MOTableRowFactory<DefaultMOMutableRow2PC>
public class DefaultMOMutableRow2PCFactory
extends Object
implements MOTableRowFactory<DefaultMOMutableRow2PC>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateRow
(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) Creates a newMOMutableRow2PC
row instance and returns it.void
Frees resources associated with the supplied row which is to be deleted.
-
Constructor Details
-
DefaultMOMutableRow2PCFactory
public DefaultMOMutableRow2PCFactory()
-
-
Method Details
-
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
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).
-