Moving COPSPepOSDatatProcess down the class hierarcy. 55/19655/2
authorSteven Pisarski <s.pisarski@cablelabs.com>
Tue, 5 May 2015 19:27:19 +0000 (13:27 -0600)
committerThomas Kee <xsited@yahoo.com>
Fri, 8 May 2015 19:52:02 +0000 (12:52 -0700)
This is a necessary step in the PEP connection and state manager refactor.

Change-Id: Ibbc27058cfeec648fc4373e14a79528733a6e203
Signed-off-by: Steven Pisarski <s.pisarski@cablelabs.com>
packetcable-driver/src/main/java/org/umu/cops/ospep/COPSPepOSDataProcess.java

index 840c6bce3b768c701afb46c85032eb2a8664c39a..6b75981c7ec4e79c97ef818c4c82953c4d51cbda 100644 (file)
@@ -1,14 +1,14 @@
 package org.umu.cops.ospep;
 
-import org.umu.cops.COPSDataProcess;
+import org.umu.cops.prpep.COPSPepDataProcess;
 import org.umu.cops.stack.COPSDecisionMsg;
 
-import java.util.Vector;
+import java.util.List;
 
 /**
  * Abstract class for implementing policy data processing classes for outsourcing PEPs.
  */
-public interface COPSPepOSDataProcess extends COPSDataProcess {
+public interface COPSPepOSDataProcess extends COPSPepDataProcess {
     /**
      * Applies the decisions from the PDP
      * @param man   The request state manager
@@ -20,22 +20,22 @@ public interface COPSPepOSDataProcess extends COPSDataProcess {
     /**
      * Gets the report data
      * @param man   The request state manager
-     * @return A <tt>Vector</tt> holding the report data
+     * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
      */
-    Vector getReportData(COPSPepOSReqStateMan man);
+    List getReportData(COPSPepOSReqStateMan man);
 
     /**
      * Gets the supplied client data
      * @param man   The request state manager
-     * @return A <tt>Vector</tt> holding the client data
+     * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
      */
-    Vector getClientData(COPSPepOSReqStateMan man);
+    List getClientData(COPSPepOSReqStateMan man);
 
     /**
      * Gets the account data
      * @param man   The request state manager
-     * @return A <tt>Vector</tt> holding the account data
+     * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
      */
-    Vector getAcctData(COPSPepOSReqStateMan man);
+    List getAcctData(COPSPepOSReqStateMan man);
 
 }