blob: 02f8378f00ba7969b70e5a85e1d377e096c1b72d [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
slowr8ddc2b12017-08-14 14:13:38 -070019import org.onosproject.xran.codecs.pdu.RRMConfig;
slowr67d05e42017-08-11 20:37:22 -070020import 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.SynchronousQueue;
25
slowr13fa5b02017-08-08 16:32:31 -070026/**
27 * Created by dimitris on 7/27/17.
28 */
29public interface XranController {
30
slowr67d05e42017-08-11 20:37:22 -070031 SynchronousQueue<String> sendHORequest(RnibLink newLink, RnibLink oldLink);
32
slowr13fa5b02017-08-08 16:32:31 -070033 void addListener(XranDeviceListener listener);
34
35 void addListener(XranHostListener listener);
36
37 void removeListener(XranDeviceListener listener);
38
39 void removeListener(XranHostListener listener);
slowr67d05e42017-08-11 20:37:22 -070040
slowr8ddc2b12017-08-14 14:13:38 -070041 SynchronousQueue<String> sendModifiedRRMConf(RRMConfig rrmConfig, boolean xICIC);
slowr89c2ac12017-08-15 16:20:06 -070042
43 SynchronousQueue<String> sendScellAdd(RnibLink link);
44
45 boolean sendScellDelete(RnibLink link);
slowr13fa5b02017-08-08 16:32:31 -070046}