chore: rename ClusterContext to NodeContext

This commit is contained in:
2025-08-21 17:39:43 +02:00
parent 81bc70fa83
commit 5870695465
10 changed files with 40 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#include "Globals.h"
#include "ClusterContext.h"
#include "NodeContext.h"
#include "NodeInfo.h"
#include <Arduino.h>
#include <ESP8266WiFi.h>
@@ -9,7 +9,7 @@
class ClusterManager {
public:
ClusterManager(ClusterContext& ctx);
ClusterManager(NodeContext& ctx);
void sendDiscovery();
void listenForDiscovery();
void addOrUpdateNode(const String& nodeHost, IPAddress nodeIP);
@@ -22,5 +22,5 @@ public:
void heartbeatTaskCallback();
void updateAllMembersInfoTaskCallback();
private:
ClusterContext& ctx;
NodeContext& ctx;
};