blob: 1c130dcfe4d01328eda6575c845336d12ab6bb12 [file] [log] [blame]
Kartikey Dubeyadeb26e2019-10-01 12:18:35 +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.aaa;
18import org.onosproject.event.AbstractEvent;
19
20/**
21 * Event indicating the Accounting Data of AAA.
22 */
23public class AaaMachineStatisticsEvent extends
24 AbstractEvent<AaaMachineStatisticsEvent.Type, AaaSupplicantMachineStats> {
25/**
26 * Accounting data.
27 * Machine Statistic event type.
28 */
29 public enum Type {
30 /**
31 * signifies that the Machine Statistics Event stats has been updated.
32 */
33 STATS_UPDATE
34 }
35 public AaaMachineStatisticsEvent(Type type, AaaSupplicantMachineStats stats) {
36 super(type, stats);
37 }
38}