Deprecate mappingservice.neutron
[lispflowmapping.git] / mappingservice / neutron / src / main / java / org / opendaylight / lispflowmapping / neutron / DataProcessor.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. 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.lispflowmapping.neutron;
9
10 import org.opendaylight.yangtools.yang.binding.DataObject;
11
12 @Deprecated
13 public interface DataProcessor<T extends DataObject> {
14
15     /**
16      * This method creates a new DataObject.
17      * @param object - the object of type DataObject that has changed
18      */
19     void create(T object);
20
21     /**
22      * This method updates a DataObject.
23      * @param object - the object of type DataObject that has changed
24      */
25     void update(T object);
26
27     /**
28      * This method removes a DataObject.
29      * @param object - the object of type DataObject that has changed
30      */
31     void delete(T object);
32 }