2 * Copyright (c) 2016 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
8 package org.opendaylight.lispflowmapping.neutron;
10 import org.opendaylight.yangtools.yang.binding.DataObject;
12 public interface DataProcessor<T extends DataObject> {
15 * This method creates a new DataObject.
16 * @param object - the object of type DataObject that has changed
18 void create(T object);
21 * This method updates a DataObject.
22 * @param object - the object of type DataObject that has changed
24 void update(T object);
27 * This method removes a DataObject.
28 * @param object - the object of type DataObject that has changed
30 void delete(T object);