blob: 17a570ab5554f19c9a18b15a8d21f7745e7e8997 [file] [log] [blame]
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07001/*
2 * Copyright 2014 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 */
tom61359e92014-09-16 15:50:27 -070016package org.onlab.onos.net.link;
17
alshabibb5522ff2014-09-29 19:20:00 -070018import java.util.Set;
19
tom61359e92014-09-16 15:50:27 -070020import org.onlab.onos.net.ConnectPoint;
21import org.onlab.onos.net.DeviceId;
22import org.onlab.onos.net.Link;
23
tom61359e92014-09-16 15:50:27 -070024/**
25 * Test adapter for link service.
26 */
27public class LinkServiceAdapter implements LinkService {
28 @Override
29 public int getLinkCount() {
30 return 0;
31 }
32
33 @Override
34 public Iterable<Link> getLinks() {
35 return null;
36 }
37
38 @Override
39 public Set<Link> getDeviceLinks(DeviceId deviceId) {
40 return null;
41 }
42
43 @Override
44 public Set<Link> getDeviceEgressLinks(DeviceId deviceId) {
45 return null;
46 }
47
48 @Override
49 public Set<Link> getDeviceIngressLinks(DeviceId deviceId) {
50 return null;
51 }
52
53 @Override
54 public Set<Link> getLinks(ConnectPoint connectPoint) {
55 return null;
56 }
57
58 @Override
59 public Set<Link> getEgressLinks(ConnectPoint connectPoint) {
60 return null;
61 }
62
63 @Override
64 public Set<Link> getIngressLinks(ConnectPoint connectPoint) {
65 return null;
66 }
67
68 @Override
69 public Link getLink(ConnectPoint src, ConnectPoint dst) {
70 return null;
71 }
72
73 @Override
74 public void addListener(LinkListener listener) {
75 }
76
77 @Override
78 public void removeListener(LinkListener listener) {
79 }
80
alshabibb5522ff2014-09-29 19:20:00 -070081
tom61359e92014-09-16 15:50:27 -070082}