Merge changes If0630105,I9d2d5e61,I1cea2a32,Icc05b6a7,Ic57eb4f8, ...
[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 }