2 #################################################################################
4 ## Copyright (c) 2014, 2015 Cable Television Laboratories, Inc and others. ##
5 ## All rights reserved. ##
7 ## This program and the accompanying materials are made available under the ##
8 ## terms of the Eclipse Public License v1.0 which accompanies this ##
9 ## distribution and is available at http://www.eclipse.org/legal/epl-v10.html ##
11 #################################################################################
16 import org.umu.cops.stack.COPSError;
19 * Defines the standard methods for implementors for processing COPS data.
21 public interface COPSDataProcess {
24 * Notifies a keep-alive timeout
25 * @param man The associated request state manager
27 void notifyNoKAliveReceived(COPSStateMan man);
30 * Notifies that the connection has been closed
31 * @param man The associated request state manager
34 void notifyClosedConnection(COPSStateMan man, COPSError error);
37 * Notifies that a request state has been closed
38 * @param man The associated request state manager
40 void closeRequestState(COPSStateMan man);