org.snmp4j.agent.mo
Class DefaultMOMutableRow2PCFactory<R extends MOMutableRow2PC>

java.lang.Object
  extended by org.snmp4j.agent.mo.DefaultMOMutableRow2PCFactory<R>
All Implemented Interfaces:
MOTableRowFactory<R>

public class DefaultMOMutableRow2PCFactory<R extends MOMutableRow2PC>
extends java.lang.Object
implements MOTableRowFactory<R>


Constructor Summary
DefaultMOMutableRow2PCFactory()
           
 
Method Summary
 R createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
          Creates a new MOMutableRow2PC row instance and returns it.
 void freeRow(R row)
          Frees resources associated with the supplied row which is to be deleted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMOMutableRow2PCFactory

public DefaultMOMutableRow2PCFactory()
Method Detail

createRow

public R createRow(org.snmp4j.smi.OID index,
                   org.snmp4j.smi.Variable[] values)
                                    throws java.lang.UnsupportedOperationException
Creates a new MOMutableRow2PC row instance and returns it.

Specified by:
createRow in interface MOTableRowFactory<R extends MOMutableRow2PC>
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:
java.lang.UnsupportedOperationException - if the specified row cannot be created.

freeRow

public void freeRow(R row)
Description copied from interface: MOTableRowFactory
Frees resources associated with the supplied row which is to be deleted.

Specified by:
freeRow in interface MOTableRowFactory<R extends MOMutableRow2PC>
Parameters:
row - a MOTableRow that has been created using this factory and is now to be deleted (removed from the associated table).

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.