blob: 2a8d16f42b5b3029c08d8bdf9a30d233c628ac6d [file] [log] [blame]
Carmelo Cascone1a7e4f92017-11-20 23:04:02 -08001/*
2 * Copyright 2017-present Open Networking Foundation
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.net.pi.service;
18
19import com.google.common.annotations.Beta;
Carmelo Cascone326ad2d2017-11-28 18:09:13 -080020import org.onosproject.net.pi.runtime.PiEntity;
Carmelo Cascone1a7e4f92017-11-20 23:04:02 -080021import org.onosproject.store.StoreDelegate;
22
23/**
Carmelo Cascone326ad2d2017-11-28 18:09:13 -080024 * PI translation store delegate abstraction.
25 *
26 * @param <T> PD entity class (translatable to PI)
27 * @param <E> PI entity class
Carmelo Cascone1a7e4f92017-11-20 23:04:02 -080028 */
29@Beta
30public interface PiTranslationStoreDelegate
Carmelo Cascone326ad2d2017-11-28 18:09:13 -080031 <T extends PiTranslatable, E extends PiEntity>
32 extends StoreDelegate<PiTranslationEvent<T, E>> {
Carmelo Cascone1a7e4f92017-11-20 23:04:02 -080033}