X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Frouting%2FRouteChange.java;h=74bc57f57544ddee8e0ae834ad5ae3dbb8418198;hp=0c04b936b668847d6914cefe522190751f10f733;hb=2a6aa1775604906755883f810ee9ea6d5f286135;hpb=e55942fd1fcc4748197146b81f7497256de22a94 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RouteChange.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RouteChange.java index 0c04b936b6..74bc57f575 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RouteChange.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/routing/RouteChange.java @@ -9,6 +9,7 @@ package org.opendaylight.controller.md.sal.common.api.routing; import java.util.Map; import java.util.Set; + /** * Event representing change in RPC routing table. * @@ -16,11 +17,12 @@ import java.util.Set; * @param Type, which is used to represent Routing context. * @param

Type of data tree path, which is used to identify route. */ -public interface RouteChange { +@Deprecated(forRemoval = true) +public interface RouteChange { /** - * * Returns a map of removed routes in associated routing contexts. + * *

* This map represents routes, which were withdrawn from broker local * routing table and broker may need to forward RPC to other broker @@ -29,16 +31,17 @@ public interface RouteChange { * @return Map of contexts and removed routes */ Map> getRemovals(); + /** - * - * Returns a map of announced routes in associated routing contexts. - * - * This map represents routes, which were announced by broker - * and are present in broker's local routing table. This routes - * are processed by implementations which are registered - * to originating broker. - * - * @return Map of contexts and announced routes - */ - Map> getAnnouncements(); + * Returns a map of announced routes in associated routing contexts. + * + *

+ * This map represents routes, which were announced by broker + * and are present in broker's local routing table. This routes + * are processed by implementations which are registered + * to originating broker. + * + * @return Map of contexts and announced routes + */ + Map> getAnnouncements(); }