34 #include "../Variable.h" 35 #include "../Exception.h" 74 std::vector<char> &
getData() {
return _data; }
85 int32_t process(
char *buffer, int32_t bufferLength);
88 size_t _maxHeaderSize = 102400;
89 size_t _maxContentSize = 104857600;
90 bool _hasHeader =
false;
91 bool _headerProcessingStarted =
false;
92 bool _dataProcessingStarted =
false;
93 bool _finished =
false;
95 uint32_t _headerSize = 0;
96 uint32_t _dataSize = 0;
97 std::vector<char> _data;
Type getType()
Definition: BinaryRpc.h:68
BinaryRpcException(const std::string &message)
Definition: BinaryRpc.h:45
bool processingStarted()
Definition: BinaryRpc.h:70
This is the base library main class.
Definition: BaseLib.h:95
Type
Definition: BinaryRpc.h:50
size_t getMaxContentSize()
Definition: BinaryRpc.h:66
Definition: BaseLib.cpp:34
size_t getMaxHeaderSize()
Definition: BinaryRpc.h:64
bool hasHeader()
Definition: BinaryRpc.h:69
bool dataProcessingStarted()
Definition: BinaryRpc.h:72
PVariable value
Definition: UiElements.h:217
bool isFinished()
Definition: BinaryRpc.h:73
bool headerProcessingStarted()
Definition: BinaryRpc.h:71
Definition: BinaryRpc.h:48
Base class for all exceptions defined in Homegear.
Definition: Exception.h:41
void setMaxContentSize(size_t value)
Definition: BinaryRpc.h:67
void setMaxHeaderSize(size_t value)
Definition: BinaryRpc.h:65
Definition: BinaryRpc.h:43
std::vector< char > & getData()
Definition: BinaryRpc.h:74