BAOS SDK v2  1.0.1
An SDK providing access to IP-BAOS devices through BAOS binary protocol version 2.x
ServerItem Struct Reference

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
 

Detailed Description

Structure to hold information about a serveritem.

Constructor & Destructor Documentation

◆ ServerItem()

ServerItem ( ServerItemId  id_,
std::uint8_t  length_,
Buffer &&  data_ 
)
inline

Construct a new Server Item object.

Parameters
id_the serveritem id
length_the length of the data
data_a buffer containing the data bytes

The documentation for this struct was generated from the following file: