blob: 2d99d820145aa0fd520a4edbdeab358d6b4048cc [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_SUPPLICANT_SUPPLICANT_EVENT_DELEGATE_INTERFACE_H_
#define SHILL_SUPPLICANT_SUPPLICANT_EVENT_DELEGATE_INTERFACE_H_
#include <string>
namespace shill {
// SupplicantEventDelegateInterface declares the set of methods that
// a SupplicantInterfaceProxy calls on an interested party when
// wpa_supplicant events occur on the network interface interface.
class SupplicantEventDelegateInterface {
public:
virtual ~SupplicantEventDelegateInterface() {}
// Supplicant has added a BSS to its table of visible endpoints.
virtual void BSSAdded(const std::string& BSS,
const KeyValueStore& properties) = 0;
// Supplicant has removed a BSS from its table of visible endpoints.
virtual void BSSRemoved(const std::string& BSS) = 0;
// Supplicant has received a certficate from the remote server during
// the process of authentication.
virtual void Certification(const KeyValueStore& properties) = 0;
// Supplicant state machine has output an EAP event notification.
virtual void EAPEvent(const std::string& status,
const std::string& parameter) = 0;
// The interface element in the supplicant has changed one or more
// properties.
virtual void PropertiesChanged(const KeyValueStore& properties) = 0;
// A scan has completed on this interface.
virtual void ScanDone(const bool& success) = 0;
// A TDLS discovery response received on this interface.
virtual void TDLSDiscoverResponse(const std::string& peer_address) = 0;
};
} // namespace shill
#endif // SHILL_SUPPLICANT_SUPPLICANT_EVENT_DELEGATE_INTERFACE_H_