BAOS SDK v2
1.0.1
An SDK providing access to IP-BAOS devices through BAOS binary protocol version 2.x
|
Structure to hold information about a serveritem. More...
#include <baos/protocol/Defines.h>
Public Member Functions | |
ServerItem (ServerItemId id_, std::uint8_t length_, Buffer &&data_) | |
Construct a new Server Item object. More... | |
Public Attributes | |
ServerItemId | id {ServerItemId::Invalid} |
the serveritem id | |
std::uint8_t | length {0} |
the length of the data | |
Buffer | data |
the data | |
Structure to hold information about a serveritem.
|
inline |
Construct a new Server Item object.
id_ | the serveritem id |
length_ | the length of the data |
data_ | a buffer containing the data bytes |