Leakage sensor
Loading...
Searching...
No Matches
WifiDependent Class Referenceabstract

An interface defining a controller that depends on a WiFi connection. More...

#include <wifi-dependent.hpp>

Inheritance diagram for WifiDependent:
MqttClient OtaHandler

Public Member Functions

virtual void onWifiConnectionEstablished ()=0
 Callback function informing about an established connection.
 
virtual void onWifiConnectionLost ()
 Callback function informing about a connection loss.
 

Detailed Description

An interface defining a controller that depends on a WiFi connection.

Implementing class will receive callbacks in case the WiFi connection is established or lost.

Member Function Documentation

◆ onWifiConnectionEstablished()

virtual void WifiDependent::onWifiConnectionEstablished ( )
pure virtual

Callback function informing about an established connection.

Callback function that will be called by the WiFi connection's controller in case a connection has been established.

Implemented in MqttClient, and OtaHandler.

◆ onWifiConnectionLost()

virtual void WifiDependent::onWifiConnectionLost ( )
inlinevirtual

Callback function informing about a connection loss.

Callback function that will be called by the WiFi connection's controller in case a connection has been lost.

Reimplemented in MqttClient.


The documentation for this class was generated from the following file: