blob: cfb47832145b05936e9c6a0ab7d1171257705594 [file] [log] [blame]
slowr13fa5b02017-08-08 16:32:31 -07001/*
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -08002 * Copyright 2017-present Open Networking Foundation
slowr13fa5b02017-08-08 16:32:31 -07003 *
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
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080017package org.onosproject.xran;
slowr13fa5b02017-08-08 16:32:31 -070018
19import org.onosproject.net.DeviceId;
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080020import org.onosproject.xran.impl.entities.RnibCell;
slowr13fa5b02017-08-08 16:32:31 -070021
22/**
slowr577f3222017-08-28 10:49:08 -070023 * Xran Device Listener.
slowr13fa5b02017-08-08 16:32:31 -070024 */
25public interface XranDeviceListener {
26
slowr577f3222017-08-28 10:49:08 -070027 /**
28 * Add new CELL as a device.
29 *
30 * @param id CELL entity
31 */
slowr13fa5b02017-08-08 16:32:31 -070032 void deviceAdded(RnibCell id);
33
slowr577f3222017-08-28 10:49:08 -070034 /**
35 * Remove CELL.
36 *
37 * @param id CELL ECGI as device id
38 */
slowr13fa5b02017-08-08 16:32:31 -070039 void deviceRemoved(DeviceId id);
40}