2 * Copyright (c) 2004 University of Murcia. All rights reserved.
3 * --------------------------------------------------------------
4 * For more information, please see <http://www.umu.euro6ix.org/>.
7 package org.umu.cops.prpep;
9 import org.umu.cops.stack.COPSError;
14 * COPSPepDataProcess process policy data and events.
16 * @version COPSPepDataProcess.java, v 2.00 2004
19 public abstract class COPSPepDataProcess {
22 * Establish PDP decisions
24 * @param man - the state manager
25 * @param removeDecs - the remove decisions
26 * @param installDecs - the install decisions
27 * @param errorDecs - the error decisions
30 public abstract void setDecisions(COPSPepReqStateMan man, Map<String, String> removeDecs,
31 Map<String, String> installDecs, Map<String, String> errorDecs);
34 * If the report is fail, return true
38 public abstract boolean isFailReport(COPSPepReqStateMan man);
43 * @return - the report data
45 public abstract Map<String, String> getReportData(COPSPepReqStateMan man);
50 * @return - the client data
52 public abstract Map<String, String> getClientData(COPSPepReqStateMan man);
55 * Return Accounting Data
57 * @return - the accounting data
59 public abstract Map<String, String> getAcctData(COPSPepReqStateMan man);
62 * Notify the connection closed
64 public abstract void notifyClosedConnection(COPSPepReqStateMan man, COPSError error);
67 * Notify the KAlive timeout
69 public abstract void notifyNoKAliveReceived(COPSPepReqStateMan man);
72 * Process a PDP request to close a Request State
74 * @param man Request State Manager
76 public abstract void closeRequestState(COPSPepReqStateMan man);
79 * Process a PDP request to open a new Request State
81 * @param man Request State Manager
83 public abstract void newRequestState(COPSPepReqStateMan man);