Moving COPSPepOSDatatProcess down the class hierarcy.
[packetcable.git] / packetcable-driver / src / main / java / org / umu / cops / ospep / COPSPepOSDataProcess.java
1 package org.umu.cops.ospep;
2
3 import org.umu.cops.prpep.COPSPepDataProcess;
4 import org.umu.cops.stack.COPSDecisionMsg;
5
6 import java.util.List;
7
8 /**
9  * Abstract class for implementing policy data processing classes for outsourcing PEPs.
10  */
11 public interface COPSPepOSDataProcess extends COPSPepDataProcess {
12     /**
13      * Applies the decisions from the PDP
14      * @param man   The request state manager
15      * @param dMsg  The decisions message
16      * @return <tt>true</tt> if failed (reports indicate failure), <tt>false</tt> otherwise
17      */
18     boolean setDecisions(COPSPepOSReqStateMan man, COPSDecisionMsg dMsg);
19
20     /**
21      * Gets the report data
22      * @param man   The request state manager
23      * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
24      */
25     List getReportData(COPSPepOSReqStateMan man);
26
27     /**
28      * Gets the supplied client data
29      * @param man   The request state manager
30      * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
31      */
32     List getClientData(COPSPepOSReqStateMan man);
33
34     /**
35      * Gets the account data
36      * @param man   The request state manager
37      * @return A <tt>List</tt> holding the report data (should be List<COPSClientSI>)
38      */
39     List getAcctData(COPSPepOSReqStateMan man);
40
41 }