Reenable Neutron using YANG models
[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 public interface DataProcessor<T extends DataObject> {
13
14     /**
15      * This method creates a new DataObject.
16      * @param object - the object of type DataObject that has changed
17      */
18     void create(T object);
19
20     /**
21      * This method updates a DataObject.
22      * @param object - the object of type DataObject that has changed
23      */
24     void update(T object);
25
26     /**
27      * This method removes a DataObject.
28      * @param object - the object of type DataObject that has changed
29      */
30     void delete(T object);
31 }