Improve cleanup after device disconnected event
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / handlers / DeviceRemovedHandler.java
1 /*
2  * Copyright (c) 2016 Pantheon Technologies s.r.o. 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.opendaylight.openflowplugin.api.openflow.device.handlers;
10
11 import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
12
13 /**
14  * Represents handler for device that was disconnected but needs to be removed from it's manager.
15  */
16 public interface DeviceRemovedHandler {
17
18     /**
19      * Method is used to propagate information about device being removed from manager.
20      */
21     void onDeviceRemoved(DeviceInfo deviceInfo);
22 }