3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
10 package org.opendaylight.controller.sal.discovery;
14 import org.opendaylight.controller.sal.core.Edge;
15 import org.opendaylight.controller.sal.core.Property;
16 import org.opendaylight.controller.sal.core.UpdateType;
19 * The interface class provides the methods to notify the listener when an edge
20 * is added/deleted/changed
22 public interface IDiscoveryService {
24 * The methods is called when an edge is added/deleted/changed
26 * @param edge {@link org.opendaylight.controller.sal.core.Edge} being updated
27 * @param type {@link org.opendaylight.controller.sal.core.UpdateType}
28 * @param props set of {@link org.opendaylight.controller.sal.core.Property} like
29 * {@link org.opendaylight.controller.sal.core.Bandwidth} and/or
30 * {@link org.opendaylight.controller.sal.core.Latency} etc.
32 public void notifyEdge(Edge edge, UpdateType type, Set<Property> props);