blob: 5dbbdad0d5afee880bd5e794db9ca6152bce792a [file] [log] [blame]
kartikey dubeye1545422019-05-22 12:53:45 +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;
Jonathan Hartc41227c2020-01-28 16:56:49 -080018
kartikey dubeye1545422019-05-22 12:53:45 +000019import org.onosproject.event.AbstractEvent;
Jonathan Hartc41227c2020-01-28 16:56:49 -080020
kartikey dubeye1545422019-05-22 12:53:45 +000021/**
22 * Event indicating the Accounting Data of AAA.
23 */
24public class AuthenticationStatisticsEvent extends
25 AbstractEvent<AuthenticationStatisticsEvent.Type, AaaStatistics> {
Jonathan Hartc41227c2020-01-28 16:56:49 -080026
27 /**
28 * Type of AuthenticationStatisticsEvent.
29 */
kartikey dubeye1545422019-05-22 12:53:45 +000030 public enum Type {
Jonathan Hartc41227c2020-01-28 16:56:49 -080031
kartikey dubeye1545422019-05-22 12:53:45 +000032 /**
Jonathan Hartc41227c2020-01-28 16:56:49 -080033 * Signifies that the authentication statistics have been updated.
kartikey dubeye1545422019-05-22 12:53:45 +000034 */
35 STATS_UPDATE
36 }
Jonathan Hartc41227c2020-01-28 16:56:49 -080037
kartikey dubeye1545422019-05-22 12:53:45 +000038 public AuthenticationStatisticsEvent(Type type, AaaStatistics stats) {
39 super(type, stats);
40 }
41}