blob: cf8661d7313f5508bc6d0f805a6b93fe8f714fac [file] [log] [blame]
Michele Santuari576f09c2016-09-28 14:20:00 +02001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Michele Santuari576f09c2016-09-28 14:20:00 +02003 *
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
17package org.onosproject.net.key;
18
19import java.util.Collection;
20import java.util.Collections;
21
22/**
23 * Test Adapter for DeviceKeyAdminService API.
24 */
25public class DeviceKeyAdminServiceAdapter implements DeviceKeyAdminService {
26
27 @Override
28 public void addListener(DeviceKeyListener listener) {
29 }
30
31 @Override
32 public void removeListener(DeviceKeyListener listener) {
33 }
34
35 @Override
36 public void addKey(DeviceKey deviceKey) {
37 }
38
39 @Override
40 public void removeKey(DeviceKeyId id) {
41 }
42
43 @Override
44 public Collection<DeviceKey> getDeviceKeys() {
45 return Collections.emptyList();
46 }
47
48 @Override
49 public DeviceKey getDeviceKey(DeviceKeyId deviceKeyId) {
50 return null;
51 }
52}