blob: 88abadbe2bc62694ac88d719bf7a313c964a2511 [file] [log] [blame]
Jian Lib1a8fd02016-12-27 03:55:32 +09001/*
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 */
16package org.onosproject.lisp.ctl;
17
18import org.onosproject.lisp.msg.protocols.LispMessage;
19
20/**
21 * Test adapter for the LISP router agent interface.
22 */
23public class LispRouterAgentAdapter implements LispRouterAgent {
24 @Override
25 public boolean addConnectedRouter(LispRouterId routerId, LispRouter router) {
26 return false;
27 }
28
29 @Override
30 public void removeConnectedRouter(LispRouterId routerId) {
31
32 }
33
34 @Override
35 public void processUpstreamMessage(LispRouterId routerId, LispMessage message) {
36
37 }
38
39 @Override
40 public void processDownstreamMessage(LispRouterId routerId, LispMessage message) {
41
42 }
43}