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;
13 public interface DataProcessor<T extends DataObject> {
16 * This method creates a new DataObject.
17 * @param object - the object of type DataObject that has changed
19 void create(T object);
22 * This method updates a DataObject.
23 * @param object - the object of type DataObject that has changed
25 void update(T object);
28 * This method removes a DataObject.
29 * @param object - the object of type DataObject that has changed
31 void delete(T object);