Add missing license headers to packetcable-driver umu/cops
[packetcable.git] / packetcable-driver / src / main / java / org / umu / cops / COPSDataProcess.java
1 /*
2  * Copyright (c) 2014, 2015 Cable Television Laboratories, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.umu.cops;
10
11 import org.umu.cops.stack.COPSError;
12
13 /**
14  * Defines the standard methods for implementors for processing COPS data.
15  */
16 public interface COPSDataProcess {
17
18     /**
19      * Notifies a keep-alive timeout
20      * @param man   The associated request state manager
21      */
22     void notifyNoKAliveReceived(COPSStateMan man);
23
24     /**
25      * Notifies that the connection has been closed
26      * @param man  The associated request state manager
27      * @param error Reason
28      */
29     void notifyClosedConnection(COPSStateMan man, COPSError error);
30
31     /**
32      * Notifies that a request state has been closed
33      * @param man   The associated request state manager
34      */
35     void closeRequestState(COPSStateMan man);
36
37 }