blob: 9f2ae7ae84e4c2acba32cd748741cb04f0a81056 [file] [log] [blame]
slowr13fa5b02017-08-08 16:32:31 -07001/*
2 * Copyright 2015-present 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 */
16
17package org.onosproject.xran.controller;
18
slowr67d05e42017-08-11 20:37:22 -070019import org.onosproject.xran.entities.RnibCell;
20import org.onosproject.xran.entities.RnibLink;
slowr13fa5b02017-08-08 16:32:31 -070021import org.onosproject.xran.providers.XranDeviceListener;
22import org.onosproject.xran.providers.XranHostListener;
23
slowr67d05e42017-08-11 20:37:22 -070024import java.util.concurrent.BlockingQueue;
25import java.util.concurrent.SynchronousQueue;
26
slowr13fa5b02017-08-08 16:32:31 -070027/**
28 * Created by dimitris on 7/27/17.
29 */
30public interface XranController {
31
slowr67d05e42017-08-11 20:37:22 -070032 SynchronousQueue<String> sendHORequest(RnibLink newLink, RnibLink oldLink);
33
slowr13fa5b02017-08-08 16:32:31 -070034 void addListener(XranDeviceListener listener);
35
36 void addListener(XranHostListener listener);
37
38 void removeListener(XranDeviceListener listener);
39
40 void removeListener(XranHostListener listener);
slowr67d05e42017-08-11 20:37:22 -070041
42 SynchronousQueue<String> sendModifiedRRMConf(RnibCell cell);
slowr13fa5b02017-08-08 16:32:31 -070043}