blob: a6b8112180cc2dfd5f25c699e47b9f0f54bd9ebf [file] [log] [blame]
Andrea Campanellafa40ca22018-01-10 17:35:20 +01001/*
2 * Copyright 2018-present Open Networking Foundation
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 */
16
17package org.onosproject.net.group;
18
19import org.onosproject.core.ApplicationId;
20import org.onosproject.net.DeviceId;
21
22/**
23 * Test adapter for group service.
24 */
25public class GroupServiceAdapter implements GroupService {
26 @Override
27 public void addGroup(GroupDescription groupDesc) {
28
29 }
30
31 @Override
32 public Group getGroup(DeviceId deviceId, GroupKey appCookie) {
33 return null;
34 }
35
36 @Override
37 public void addBucketsToGroup(DeviceId deviceId, GroupKey oldCookie, GroupBuckets buckets,
38 GroupKey newCookie, ApplicationId appId) {
39
40 }
41
42 @Override
43 public void removeBucketsFromGroup(DeviceId deviceId, GroupKey oldCookie, GroupBuckets buckets,
44 GroupKey newCookie, ApplicationId appId) {
45
46 }
47
48 @Override
49 public void purgeGroupEntries(DeviceId deviceId) {
50
51 }
52
53 @Override
54 public void removeGroup(DeviceId deviceId, GroupKey appCookie, ApplicationId appId) {
55
56 }
57
58 @Override
59 public Iterable<Group> getGroups(DeviceId deviceId, ApplicationId appId) {
60 return null;
61 }
62
63 @Override
64 public Iterable<Group> getGroups(DeviceId deviceId) {
65 return null;
66 }
67
68 @Override
69 public void addListener(GroupListener listener) {
70
71 }
72
73 @Override
74 public void removeListener(GroupListener listener) {
75
76 }
77}