X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fimplementation%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fconnector%2Fremoterpc%2FMockRoutingTable.java;h=0fe0155bb6a90e48a24e3ce7d3ecaaee37f956f8;hb=1f2754487ab1e3a37c830909806f90cd54180c7b;hp=9c74be93bd7d28e22222cffb8273c2ae5b2505f7;hpb=94d0d20b41d64bb6696c2a573ec367fcfddc44e9;p=controller.git diff --git a/opendaylight/md-sal/sal-remoterpc-connector/implementation/src/test/java/org/opendaylight/controller/sal/connector/remoterpc/MockRoutingTable.java b/opendaylight/md-sal/sal-remoterpc-connector/implementation/src/test/java/org/opendaylight/controller/sal/connector/remoterpc/MockRoutingTable.java index 9c74be93bd..0fe0155bb6 100644 --- a/opendaylight/md-sal/sal-remoterpc-connector/implementation/src/test/java/org/opendaylight/controller/sal/connector/remoterpc/MockRoutingTable.java +++ b/opendaylight/md-sal/sal-remoterpc-connector/implementation/src/test/java/org/opendaylight/controller/sal/connector/remoterpc/MockRoutingTable.java @@ -38,11 +38,26 @@ public class MockRoutingTable implements RoutingTable { } + @Override + public void addRoutes(Set set, Object o) throws RoutingTableException, SystemException { + //To change body of implemented methods use File | Settings | File Templates. + } + + @Override + public void removeRoutes(Set set, Object o) throws RoutingTableException, SystemException { + //To change body of implemented methods use File | Settings | File Templates. + } + @Override public void removeGlobalRoute(Object o) throws RoutingTableException, SystemException { } + @Override + public Object getGlobalRoute(Object o) throws RoutingTableException, SystemException { + return null; //To change body of implemented methods use File | Settings | File Templates. + } + @Override public Set getRoutes(Object o) { Set routes = new HashSet(); @@ -51,17 +66,17 @@ public class MockRoutingTable implements RoutingTable { } @Override - public Set getAllRoutes() { - return Collections.emptySet(); + public Object getLastAddedRoute(Object o) { + return null; //To change body of implemented methods use File | Settings | File Templates. } - @Override - public Object getARoute(Object o) { - return null; - } +// @Override +// public Set getAllRoutes() { +// return Collections.emptySet(); +// } - @Override - public void registerRouteChangeListener(RouteChangeListener routeChangeListener) { - - } +// @Override +// public Object getARoute(Object o) { +// return null; +// } }