slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | package org.onosproject.xran.controller; |
| 18 | |
slowr | 8ddc2b1 | 2017-08-14 14:13:38 -0700 | [diff] [blame] | 19 | import org.onosproject.xran.codecs.pdu.RRMConfig; |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 20 | import org.onosproject.xran.entities.RnibLink; |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 21 | import org.onosproject.xran.providers.XranDeviceListener; |
| 22 | import org.onosproject.xran.providers.XranHostListener; |
| 23 | |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 24 | import java.util.concurrent.SynchronousQueue; |
| 25 | |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 26 | /** |
| 27 | * Created by dimitris on 7/27/17. |
| 28 | */ |
| 29 | public interface XranController { |
| 30 | |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 31 | SynchronousQueue<String> sendHORequest(RnibLink newLink, RnibLink oldLink); |
| 32 | |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 33 | void addListener(XranDeviceListener listener); |
| 34 | |
| 35 | void addListener(XranHostListener listener); |
| 36 | |
| 37 | void removeListener(XranDeviceListener listener); |
| 38 | |
| 39 | void removeListener(XranHostListener listener); |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 40 | |
slowr | 8ddc2b1 | 2017-08-14 14:13:38 -0700 | [diff] [blame] | 41 | SynchronousQueue<String> sendModifiedRRMConf(RRMConfig rrmConfig, boolean xICIC); |
slowr | 89c2ac1 | 2017-08-15 16:20:06 -0700 | [diff] [blame] | 42 | |
| 43 | SynchronousQueue<String> sendScellAdd(RnibLink link); |
| 44 | |
| 45 | boolean sendScellDelete(RnibLink link); |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 46 | } |