blob: 1ede0fb221b87c838d04bc6cbcd41b01e4a3b57f [file] [log] [blame]
Yi Tseng7a38f9a2017-06-09 14:36:40 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
Yi Tseng7a38f9a2017-06-09 14:36:40 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Ray Milkey69ec8712017-08-08 13:00:43 -070016package org.onosproject.routeservice;
Yi Tseng7a38f9a2017-06-09 14:36:40 -070017
18import org.onlab.packet.IpAddress;
19import org.onlab.packet.IpPrefix;
20
21import java.util.Collection;
22import java.util.Set;
23
24/**
25 * Adapter class for the route store.
26 */
27public class RouteStoreAdapter implements RouteStore {
28 @Override
29 public void updateRoute(Route route) {
30
31 }
32
33 @Override
pier8a86db22019-10-16 16:58:20 +020034 public void updateRoutes(Collection<Route> routes) {
35
36 }
37
38 @Override
Yi Tseng7a38f9a2017-06-09 14:36:40 -070039 public void removeRoute(Route route) {
40
41 }
42
43 @Override
pier8a86db22019-10-16 16:58:20 +020044 public void removeRoutes(Collection<Route> routes) {
45
46 }
47
48 @Override
Daniel Ginsburg83b76452018-06-09 01:43:59 +030049 public void replaceRoute(Route route) {
50
51 }
52
53 @Override
Yi Tseng7a38f9a2017-06-09 14:36:40 -070054 public Set<RouteTableId> getRouteTables() {
55 return null;
56 }
57
58 @Override
59 public Collection<RouteSet> getRoutes(RouteTableId table) {
60 return null;
61 }
62
63 @Override
64 public Collection<Route> getRoutesForNextHop(IpAddress ip) {
65 return null;
66 }
67
68 @Override
pier8a86db22019-10-16 16:58:20 +020069 public Collection<RouteSet> getRoutesForNextHops(Collection<IpAddress> nextHops) {
70 return null;
71 }
72
73 @Override
Yi Tseng7a38f9a2017-06-09 14:36:40 -070074 public RouteSet getRoutes(IpPrefix prefix) {
75 return null;
76 }
77
78 @Override
79 public void setDelegate(RouteStoreDelegate delegate) {
80
81 }
82
83 @Override
84 public void unsetDelegate(RouteStoreDelegate delegate) {
85
86 }
87
88 @Override
89 public boolean hasDelegate() {
90 return false;
91 }
92}