Device: Add network mutex support

This commit is contained in:
Jonathan Schwartz
2025-10-24 12:12:36 -04:00
committed by Kyle Schwarz
parent bf311ebe30
commit c2f1022858
29 changed files with 1146 additions and 47 deletions
@@ -0,0 +1,21 @@
#ifndef CLIENT_ID_MESSAGE_H_
#define CLIENT_ID_MESSAGE_H_
#include <cstdint>
#include "icsneo/communication/network.h"
#include "icsneo/communication/message/message.h"
#include "icsneo/api/eventmanager.h"
namespace icsneo {
class ClientIdMessage : public Message {
public:
ClientIdMessage() : Message(Message::Type::ClientId) {}
static std::shared_ptr<ClientIdMessage> DecodeToMessage(const std::vector<uint8_t>& bytestream);
std::optional<uint32_t> clientId;
};
} // namespace icsneo
#endif