blob: 2433dc60542b9232074a65ef78ab2d63c4b614d8 [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 */
tomb41d1ac2014-09-24 01:51:24 -070016package org.onlab.onos.cluster;
17
18import java.util.Set;
19
20/**
21 * Test adapter for the cluster service.
22 */
23public class ClusterServiceAdapter implements ClusterService {
24 @Override
25 public ControllerNode getLocalNode() {
26 return null;
27 }
28
29 @Override
30 public Set<ControllerNode> getNodes() {
31 return null;
32 }
33
34 @Override
35 public ControllerNode getNode(NodeId nodeId) {
36 return null;
37 }
38
39 @Override
40 public ControllerNode.State getState(NodeId nodeId) {
41 return null;
42 }
43
44 @Override
45 public void addListener(ClusterEventListener listener) {
46 }
47
48 @Override
49 public void removeListener(ClusterEventListener listener) {
50 }
51}