blob: a7bd40149c672354e7f044c876819e5216a42e3e [file] [log] [blame]
Pavlin Radoslavova6b754c2014-11-18 13:55:37 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2014-present Open Networking Foundation
Pavlin Radoslavova6b754c2014-11-18 13:55:37 -08003 *
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 */
Brian O'Connorabafb502014-12-02 22:26:20 -080016package org.onosproject.cluster;
Pavlin Radoslavova6b754c2014-11-18 13:55:37 -080017
Brian O'Connorabafb502014-12-02 22:26:20 -080018import org.onosproject.event.EventListener;
Pavlin Radoslavova6b754c2014-11-18 13:55:37 -080019
20/**
21 * Entity capable of receiving device leadership-related events.
22 */
Brian O'Connor69d6ac72015-05-29 16:24:06 -070023public interface LeadershipEventListener extends EventListener<LeadershipEvent> {
Brian O'Connorabafb502014-12-02 22:26:20 -080024}