blob: b33b17cd570abda235a7b2089e72edddb1fcf88b [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.HostId;
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -080020import org.onosproject.xran.asn1lib.api.ECGI;
21import org.onosproject.xran.impl.entities.RnibUe;
slowr13fa5b02017-08-08 16:32:31 -070022
23import java.util.Set;
24
25/**
slowr577f3222017-08-28 10:49:08 -070026 * Xran Host Listener.
slowr13fa5b02017-08-08 16:32:31 -070027 */
28public interface XranHostListener {
29
slowr577f3222017-08-28 10:49:08 -070030 /**
31 * Add UE as a host with location the primary link.
32 *
33 * @param ue UE entity
34 * @param ecgiSet All connected CELLs to this UE
35 */
slowr13fa5b02017-08-08 16:32:31 -070036 void hostAdded(RnibUe ue, Set<ECGI> ecgiSet);
37
slowr577f3222017-08-28 10:49:08 -070038 /**
39 * Remove UE based on Host Id.
40 *
41 * @param id Host Id generated from UE id
42 */
slowr13fa5b02017-08-08 16:32:31 -070043 void hostRemoved(HostId id);
44}