Merge "Improve JavaAttribute performance"
[controller.git] / opendaylight / adsal / sal / api / src / main / java / org / opendaylight / controller / sal / discovery / IDiscoveryService.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.sal.discovery;
11
12 import java.util.Set;
13
14 import org.opendaylight.controller.sal.core.Edge;
15 import org.opendaylight.controller.sal.core.Property;
16 import org.opendaylight.controller.sal.core.UpdateType;
17
18 /**
19  * The interface provides the methods to notify the listener when an edge is
20  * added/deleted/changed.
21  */
22 @Deprecated
23 public interface IDiscoveryService {
24     /**
25      * The methods is called when an edge is added/deleted/changed
26      *
27      * @param edge                      {@link org.opendaylight.controller.sal.core.Edge} being updated
28      * @param type              {@link org.opendaylight.controller.sal.core.UpdateType}
29      * @param props             set of {@link org.opendaylight.controller.sal.core.Property} like
30      *                                          {@link org.opendaylight.controller.sal.core.Bandwidth} and/or
31      *                                          {@link org.opendaylight.controller.sal.core.Latency} etc.
32      */
33     public void notifyEdge(Edge edge, UpdateType type, Set<Property> props);
34 }