blob: 6717336e58fb5f04d02cdc3f789039698fb460d5 [file] [log] [blame]
Shubham Sharma47f2caf2020-02-18 12:13:40 +00001/*
2 * Copyright 2018-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.opencord.igmpproxy;
18
19import org.onosproject.event.AbstractEvent;
20
21
22/**
23 * Event indicating the Statistics Data of IGMP.
24 */
25public class IgmpStatisticsEvent extends
26 AbstractEvent<IgmpStatisticsEvent.Type, IgmpStatistics> {
27 /**
28 * Statistics data.
29 * IgmpStatisticsEvent event type.
30 */
31 public enum Type {
32 /**
33 * signifies that the IGMP Statistics Event stats has been updated.
34 */
35 STATS_UPDATE
36 }
37
38 public IgmpStatisticsEvent(Type type, IgmpStatistics stats) {
39 super(type, stats);
40 }
41
42}