Ray Milkey | 7f9e020 | 2015-11-04 17:14:09 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Foundation |
Ray Milkey | 7f9e020 | 2015-11-04 17:14:09 -0800 | [diff] [blame] | 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 | */ |
Ray Milkey | d931a9b | 2016-03-02 17:01:30 -0800 | [diff] [blame] | 16 | package org.onosproject.net.driver; |
Ray Milkey | 7f9e020 | 2015-11-04 17:14:09 -0800 | [diff] [blame] | 17 | |
| 18 | import java.util.Set; |
| 19 | |
| 20 | import org.onosproject.net.DeviceId; |
Ray Milkey | d931a9b | 2016-03-02 17:01:30 -0800 | [diff] [blame] | 21 | |
Ray Milkey | 7f9e020 | 2015-11-04 17:14:09 -0800 | [diff] [blame] | 22 | |
| 23 | /** |
Ray Milkey | d931a9b | 2016-03-02 17:01:30 -0800 | [diff] [blame] | 24 | * Testing adapter for the driver service interface. |
Ray Milkey | 7f9e020 | 2015-11-04 17:14:09 -0800 | [diff] [blame] | 25 | */ |
| 26 | public class DriverServiceAdapter implements DriverService { |
| 27 | @Override |
| 28 | public Set<Driver> getDrivers() { |
| 29 | return null; |
| 30 | } |
| 31 | |
| 32 | @Override |
| 33 | public Set<Driver> getDrivers(Class<? extends Behaviour> withBehaviour) { |
| 34 | return null; |
| 35 | } |
| 36 | |
| 37 | @Override |
| 38 | public Driver getDriver(String mfr, String hw, String sw) { |
| 39 | return null; |
| 40 | } |
| 41 | |
| 42 | @Override |
| 43 | public Driver getDriver(DeviceId deviceId) { |
| 44 | return null; |
| 45 | } |
| 46 | |
| 47 | @Override |
| 48 | public DriverHandler createHandler(DeviceId deviceId, String... credentials) { |
| 49 | return null; |
| 50 | } |
| 51 | |
| 52 | @Override |
| 53 | public Driver getDriver(String driverName) { |
| 54 | return null; |
| 55 | } |
Thomas Vachuska | e6a5741 | 2017-08-23 14:09:14 -0700 | [diff] [blame] | 56 | |
| 57 | @Override |
| 58 | public void addListener(DriverListener listener) { |
| 59 | } |
| 60 | |
| 61 | @Override |
| 62 | public void removeListener(DriverListener listener) { |
| 63 | } |
Ray Milkey | 7f9e020 | 2015-11-04 17:14:09 -0800 | [diff] [blame] | 64 | } |