Bug 5386: Delete QoS and Queues entries from ovsdb on UNI deletion
[unimgr.git] / impl / src / main / java / org / opendaylight / unimgr / api / IUnimgrDataChangeListener.java
1 /*
2  * Copyright (c) 2015 CableLabs 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 package org.opendaylight.unimgr.api;
9
10 import java.util.Map;
11
12 import org.opendaylight.controller.md.sal.binding.api.DataChangeListener;
13 import org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeEvent;
14 import org.opendaylight.yangtools.yang.binding.DataObject;
15 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
16
17 public interface IUnimgrDataChangeListener extends DataChangeListener,
18         AutoCloseable {
19
20     void create(Map<InstanceIdentifier<?>, DataObject> changes);
21
22     void update(Map<InstanceIdentifier<?>, DataObject> changes);
23
24     void delete(AsyncDataChangeEvent<InstanceIdentifier<?>, DataObject> changes);
25 }