Jian Li | 7ccc3a8 | 2016-12-09 01:30:56 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-present Open Networking Laboratory |
| 3 | * |
| 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 | */ |
| 16 | package org.onosproject.lisp.ctl; |
| 17 | |
| 18 | /** |
| 19 | * Test adapter for the LISP controller interface. |
| 20 | */ |
| 21 | public class LispControllerAdapter implements LispController { |
| 22 | @Override |
| 23 | public Iterable<LispRouter> getRouters() { |
| 24 | return null; |
| 25 | } |
| 26 | |
| 27 | @Override |
Jian Li | 834ff72 | 2016-12-13 19:43:02 +0900 | [diff] [blame] | 28 | public Iterable<LispRouter> getSubscribedRouters() { |
| 29 | return null; |
| 30 | } |
| 31 | |
| 32 | @Override |
Jian Li | 9b1a45b | 2017-01-19 13:34:31 -0800 | [diff] [blame] | 33 | public LispRouter connectRouter(LispRouterId routerId) { |
| 34 | return null; |
| 35 | } |
| 36 | |
| 37 | @Override |
| 38 | public void disconnectRouter(LispRouterId routerId, boolean remove) { |
| 39 | |
| 40 | } |
| 41 | |
| 42 | @Override |
Jian Li | 7ccc3a8 | 2016-12-09 01:30:56 +0900 | [diff] [blame] | 43 | public LispRouter getRouter(LispRouterId routerId) { |
| 44 | return null; |
| 45 | } |
| 46 | |
| 47 | @Override |
| 48 | public void addRouterListener(LispRouterListener listener) { |
| 49 | |
| 50 | } |
| 51 | |
| 52 | @Override |
| 53 | public void removeRouterListener(LispRouterListener listener) { |
| 54 | |
| 55 | } |
| 56 | |
| 57 | @Override |
| 58 | public void addMessageListener(LispMessageListener listener) { |
| 59 | |
| 60 | } |
| 61 | |
| 62 | @Override |
| 63 | public void removeMessageListener(LispMessageListener listener) { |
| 64 | |
| 65 | } |
| 66 | } |