docs: update
This commit is contained in:
@@ -29,6 +29,9 @@ void ClusterManager::sendDiscovery() {
|
||||
ctx.udp->endPacket();
|
||||
}
|
||||
|
||||
// TODO the various if statements here are a mess, we need to clean them up
|
||||
// TODO we should use a state machine to handle the different types of messages
|
||||
// TODO we should use a class to handle the different types of messages using predicate functions
|
||||
void ClusterManager::listenForDiscovery() {
|
||||
int packetSize = ctx.udp->parsePacket();
|
||||
if (packetSize) {
|
||||
|
||||
Reference in New Issue
Block a user