M2-PT-DRP/source/tasks/client/ClientTask.cpp

19 lines
348 B
C++

#include "ClientTask.hpp"
#include <thread>
namespace drp::task {
void ClientTask::handle(Context& context) {
// TODO(Faraphel): connect to an ntp server
// TODO(Faraphel): check if the server is still reachable.
// if connection lost, go back to undefined mode.
std::this_thread::sleep_for(std::chrono::seconds(1));
}
}