2 * Copyright (c) 2015 Cisco Systems, 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
9 package org.opendaylight.openflowplugin.api.openflow.device.handlers;
11 import javax.annotation.CheckForNull;
12 import org.opendaylight.openflowplugin.api.openflow.device.DeviceContext;
15 * Interface represent handler for dead device connection annihilating cycle.
16 * Every implementation have some unnecessary steps which has to be done before
17 * dead Device is removing.
19 public interface DeviceTerminationPhaseHandler {
22 * Method represents a termination cycle for {@link DeviceContext}.
24 * @param deviceContext - {@link DeviceContext}
26 void onDeviceContextLevelDown(@CheckForNull DeviceContext deviceContext);