Adding routed RPC support in Remote RPC Router
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / implementation / src / test / java / org / opendaylight / controller / sal / connector / remoterpc / MockRoutingTable.java
index 9c74be93bd7d28e22222cffb8273c2ae5b2505f7..0fe0155bb6a90e48a24e3ce7d3ecaaee37f956f8 100644 (file)
@@ -38,11 +38,26 @@ public class MockRoutingTable<K, V> 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<String> routes = new HashSet<String>();
@@ -51,17 +66,17 @@ public class MockRoutingTable<K, V> implements RoutingTable {
   }
 
   @Override
-  public Set<Map.Entry> 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<Map.Entry> getAllRoutes() {
+//    return Collections.emptySet();
+//  }
 
-  @Override
-  public void registerRouteChangeListener(RouteChangeListener routeChangeListener) {
-
-  }
+//  @Override
+//  public Object getARoute(Object o) {
+//    return null;
+//  }
 }