rename start method

This commit is contained in:
John
2022-04-10 16:38:46 +02:00
parent aa50e2388c
commit bed49edb8e
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ class DataHandler {
/**
* Called to start the @a DataHandler.
*/
virtual void start() = 0;
virtual void startHandler() = 0;
/**
* Return whether this is a @a DataSink instance.
+1 -1
View File
@@ -231,7 +231,7 @@ void MainLoop::run() {
if (dataHandler->isDataSink()) {
dataSinks.push_back(dynamic_cast<DataSink*>(dataHandler));
}
dataHandler->start();
dataHandler->startHandler();
}
while (!m_shutdown) {
// pick the next message to handle
+1 -1
View File
@@ -1171,7 +1171,7 @@ MqttHandler::~MqttHandler() {
mosquitto_lib_cleanup();
}
void MqttHandler::start() {
void MqttHandler::startHandler() {
if (m_mosquitto) {
WaitThread::start("MQTT");
}
+1 -1
View File
@@ -281,7 +281,7 @@ class MqttHandler : public DataSink, public DataSource, public WaitThread {
virtual ~MqttHandler();
// @copydoc
void start() override;
void startHandler() override;
/**
* Notify the handler of a (re-)established connection to the broker.