Ensure all *DataProcess classes have been changed from abstract classes to interfaces...
[packetcable.git] / packetcable-driver / src / main / java / org / umu / cops / COPSDataProcess.java
1 package org.umu.cops;
2
3 import org.umu.cops.stack.COPSError;
4
5 /**
6  * Defines the standard methods for implementors for processing COPS data.
7  */
8 public interface COPSDataProcess {
9
10     /**
11      * Notifies a keep-alive timeout
12      * @param man   The associated request state manager
13      */
14     void notifyNoKAliveReceived(COPSStateMan man);
15
16     /**
17      * Notifies that the connection has been closed
18      * @param man  The associated request state manager
19      * @param error Reason
20      */
21     void notifyClosedConnection(COPSStateMan man, COPSError error);
22
23     /**
24      * Notifies that a request state has been closed
25      * @param man   The associated request state manager
26      */
27     void closeRequestState(COPSStateMan man);
28
29 }