mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Device: Add network mutex support
This commit is contained in:
committed by
Kyle Schwarz
parent
bf311ebe30
commit
c2f1022858
@@ -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
|
||||
Reference in New Issue
Block a user