BAOS SDK
18.2.0
|
#include <DataPacket.h>
Public Types | |
typedef std::shared_ptr< ErrorResponse > | Ptr |
Public Types inherited from kdrive::baos::DataResponse | |
typedef std::shared_ptr< DataResponse > | Ptr |
Public Types inherited from kdrive::baos::DataPacket | |
typedef std::shared_ptr< DataPacket > | Ptr |
typedef std::vector< unsigned char > | Buffer |
Public Member Functions | |
unsigned char | getErrorCode () const |
Public Member Functions inherited from kdrive::baos::DataPacket | |
virtual | ~DataPacket () |
void | setMainService (unsigned char mainService) |
unsigned char | getMainService () const |
void | setSubService (unsigned char subService) |
unsigned char | getSubService () const |
void | setOffset (unsigned short offset) |
unsigned short | getOffset () const |
void | setCount (unsigned short count) |
unsigned short | getCount () const |
void | setBuffer (const Buffer &buffer) |
Buffer & | getBuffer () |
const Buffer & | getBuffer () const |
void | setHeaderPolicy (std::shared_ptr< HeaderPolicy > headerPolicy) |
void | setVersion (unsigned char version) |
unsigned char | getVersion () const |
Additional Inherited Members | |
Protected Member Functions inherited from kdrive::baos::DataPacket | |
DataPacket () | |
std::size_t | sizeImpl () const override |
std::size_t | readFromBufferImpl (const unsigned char *buffer, std::size_t bufferSize) override |
std::size_t | writeToBufferImpl (unsigned char *buffer, std::size_t bufferSize) const override |
typedef std::shared_ptr<ErrorResponse> kdrive::baos::ErrorResponse::Ptr |
unsigned char ErrorResponse::getErrorCode | ( | ) | const |