org.snmp4j.agent.mo
Class DefaultMOMutableRow2PCFactory

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

public class DefaultMOMutableRow2PCFactory
extends java.lang.Object
implements MOTableRowFactory


Constructor Summary
DefaultMOMutableRow2PCFactory()
           
 
Method Summary
 MOTableRow createRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
          Creates a new MOTableRow row instance and returns it.
 void freeRow(MOTableRow 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 MOTableRow createRow(org.snmp4j.smi.OID index,
                            org.snmp4j.smi.Variable[] values)
                     throws java.lang.UnsupportedOperationException
Creates a new MOTableRow row instance and returns it.

Specified by:
createRow in interface MOTableRowFactory
Parameters:
index - the index OID for the new row.
values - the values to be contained in the new row.
Returns:
the created MOTableRow.
Throws:
java.lang.UnsupportedOperationException - if the specified row cannot be created.

freeRow

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

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

Copyright 2005-2008 Frank Fock (SNMP4J.org)