blob: db8a6cdb24af7ec05b3dc0e31072debfddcea296 [file] [log] [blame]
Jonathan Hart41349e92015-02-09 14:14:02 -08001/*
Jonathan Hart3930f632015-10-19 12:12:51 -07002 * Copyright 2016 Open Networking Laboratory
Jonathan Hart41349e92015-02-09 14:14:02 -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 */
Jonathan Hart3930f632015-10-19 12:12:51 -070016
17package org.onosproject.routing.fpm;
18
19import org.onosproject.routing.fpm.protocol.FpmHeader;
Jonathan Hart41349e92015-02-09 14:14:02 -080020
21/**
Jonathan Hart3930f632015-10-19 12:12:51 -070022 * Listener for FPM messages.
Jonathan Hart41349e92015-02-09 14:14:02 -080023 */
Jonathan Hart3930f632015-10-19 12:12:51 -070024public interface FpmMessageListener {
Jonathan Hart41349e92015-02-09 14:14:02 -080025
26 /**
Jonathan Hart3930f632015-10-19 12:12:51 -070027 * Handles an FPM message.
Jonathan Hart41349e92015-02-09 14:14:02 -080028 *
Jonathan Hart3930f632015-10-19 12:12:51 -070029 * @param fpmMessage FPM message
Jonathan Hart41349e92015-02-09 14:14:02 -080030 */
Jonathan Hart3930f632015-10-19 12:12:51 -070031 void fpmMessage(FpmHeader fpmMessage);
Jonathan Hart41349e92015-02-09 14:14:02 -080032}