#include <BinaryRpc.h>
§ Type
Enumerator |
---|
unknown | |
request | |
response | |
§ BinaryRpc() [1/2]
BaseLib::Rpc::BinaryRpc::BinaryRpc |
( |
| ) |
|
§ BinaryRpc() [2/2]
Deprecated old constructor.
§ ~BinaryRpc()
BaseLib::Rpc::BinaryRpc::~BinaryRpc |
( |
| ) |
|
|
default |
§ dataProcessingStarted()
bool BaseLib::Rpc::BinaryRpc::dataProcessingStarted |
( |
| ) |
|
|
inline |
§ getData()
std::vector<char>& BaseLib::Rpc::BinaryRpc::getData |
( |
| ) |
|
|
inline |
§ getMaxContentSize()
size_t BaseLib::Rpc::BinaryRpc::getMaxContentSize |
( |
| ) |
|
|
inline |
§ getMaxHeaderSize()
size_t BaseLib::Rpc::BinaryRpc::getMaxHeaderSize |
( |
| ) |
|
|
inline |
§ getType()
Type BaseLib::Rpc::BinaryRpc::getType |
( |
| ) |
|
|
inline |
§ hasHeader()
bool BaseLib::Rpc::BinaryRpc::hasHeader |
( |
| ) |
|
|
inline |
§ headerProcessingStarted()
bool BaseLib::Rpc::BinaryRpc::headerProcessingStarted |
( |
| ) |
|
|
inline |
§ isFinished()
bool BaseLib::Rpc::BinaryRpc::isFinished |
( |
| ) |
|
|
inline |
§ process()
int32_t BaseLib::Rpc::BinaryRpc::process |
( |
char * |
buffer, |
|
|
int32_t |
bufferLength |
|
) |
| |
Parses binary RPC data from a buffer.
- Parameters
-
buffer | The buffer to parse |
bufferLength | The maximum number of bytes to process. |
- Returns
- The number of processed bytes.
§ processingStarted()
bool BaseLib::Rpc::BinaryRpc::processingStarted |
( |
| ) |
|
|
inline |
§ reset()
void BaseLib::Rpc::BinaryRpc::reset |
( |
| ) |
|
§ setMaxContentSize()
void BaseLib::Rpc::BinaryRpc::setMaxContentSize |
( |
size_t |
value | ) |
|
|
inline |
§ setMaxHeaderSize()
void BaseLib::Rpc::BinaryRpc::setMaxHeaderSize |
( |
size_t |
value | ) |
|
|
inline |
The documentation for this class was generated from the following files: