blob: 11095b37a4708fcaceb58953006b509897e7d0e5 [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;
18
19import org.onosproject.event.ListenerService;
20
21/**
22 * Service for interacting with authentication module.
23 */
24public interface AaaMachineStatisticsService
25 extends ListenerService<AaaMachineStatisticsEvent, AaaMachineStatisticsEventListener> {
26 /**
27 * To get Supplicant machine stat.
28 *
29 * @param obj State Machine instance.
30 * @return supplicant stats.
31 */
32 public AaaSupplicantMachineStats getSupplicantStats(Object obj);
33
34 /**
35 * Returns AaaMachineStatisticsDelegate object.
36 *
37 * @return AaaMachineStatisticsDelegate.
38 */
39 public AaaMachineStatisticsDelegate getMachineStatsDelegate();
40
41 /**
42 * Log the Machine stats.
43 *
44 * @param obj of AaaSupplicantMachineStats.
45 */
46 void logAaaSupplicantMachineStats(AaaSupplicantMachineStats obj);
47
48}