2 * Copyright (c) 2014, 2015 Cable Television Laboratories, Inc. and others. All rights reserved.
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
11 import org.umu.cops.stack.COPSError;
14 * Defines the standard methods for implementors for processing COPS data.
16 public interface COPSDataProcess {
19 * Notifies a keep-alive timeout
20 * @param man The associated request state manager
22 void notifyNoKAliveReceived(COPSStateMan man);
25 * Notifies that the connection has been closed
26 * @param man The associated request state manager
29 void notifyClosedConnection(COPSStateMan man, COPSError error);
32 * Notifies that a request state has been closed
33 * @param man The associated request state manager
35 void closeRequestState(COPSStateMan man);