blob: 776648dcc95f27d6597344c8414062cad6a33317 [file] [log] [blame]
Ray Milkey7f9e0202015-11-04 17:14:09 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Ray Milkey7f9e0202015-11-04 17:14:09 -08003 *
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 Milkeyd931a9b2016-03-02 17:01:30 -080016package org.onosproject.net.driver;
Ray Milkey7f9e0202015-11-04 17:14:09 -080017
Seyeon Jeong80a62462020-03-10 17:41:14 -070018import java.util.Map;
Ray Milkey7f9e0202015-11-04 17:14:09 -080019import java.util.Set;
20
21import org.onosproject.net.DeviceId;
Ray Milkeyd931a9b2016-03-02 17:01:30 -080022
Ray Milkey7f9e0202015-11-04 17:14:09 -080023
24/**
Ray Milkeyd931a9b2016-03-02 17:01:30 -080025 * Testing adapter for the driver service interface.
Ray Milkey7f9e0202015-11-04 17:14:09 -080026 */
27public class DriverServiceAdapter implements DriverService {
28 @Override
29 public Set<Driver> getDrivers() {
30 return null;
31 }
32
33 @Override
34 public Set<Driver> getDrivers(Class<? extends Behaviour> withBehaviour) {
35 return null;
36 }
37
38 @Override
39 public Driver getDriver(String mfr, String hw, String sw) {
40 return null;
41 }
42
43 @Override
44 public Driver getDriver(DeviceId deviceId) {
45 return null;
46 }
47
48 @Override
49 public DriverHandler createHandler(DeviceId deviceId, String... credentials) {
50 return null;
51 }
52
53 @Override
54 public Driver getDriver(String driverName) {
55 return null;
56 }
Thomas Vachuskae6a57412017-08-23 14:09:14 -070057
58 @Override
Seyeon Jeong80a62462020-03-10 17:41:14 -070059 public Map<DeviceId, String> getDeviceDrivers() {
60 return null;
61 }
62
63 @Override
Thomas Vachuskae6a57412017-08-23 14:09:14 -070064 public void addListener(DriverListener listener) {
65 }
66
67 @Override
68 public void removeListener(DriverListener listener) {
69 }
Ray Milkey7f9e0202015-11-04 17:14:09 -080070}