ccapi: Upgrade to v5.31.2
This commit is contained in:
1 parent
b91431e518
commit
7a3fae62c3
32 files changed
+203
-17
No files matched your search
@@ -8,6 +8,12 @@
|
||||
#include "ccapi_cpp/ccapi_macro.h"
|
||||
#include "ccapi_cpp/ccapi_util_private.h"
|
||||
namespace ccapi {
|
||||
/**
|
||||
* A single request. Request objects are created using Request constructors. They are used with Session::sendRequest() or Session::sendRequestByWebsocket() or
|
||||
* Session::sendRequestByFix(). The Request object contains the parameters for a single request. Once a Request has been created its fields can be further
|
||||
* modified using the convenience functions appendParam() or appendParamFix() or setParamList() or setParamListFix(). A correlation id can be used as the unique
|
||||
* identifier to tag all data associated with this request.
|
||||
*/
|
||||
class Request CCAPI_FINAL {
|
||||
public:
|
||||
static constexpr int operationTypeCustom = 0x100;
|
||||
@@ -130,6 +136,9 @@ class Request CCAPI_FINAL {
|
||||
const std::string& getServiceName() const { return serviceName; }
|
||||
void appendParam(const std::map<std::string, std::string>& param) { this->paramList.push_back(param); }
|
||||
void appendParamFix(const std::vector<std::pair<int, std::string> >& param) { this->paramListFix.push_back(param); }
|
||||
void appendParamListFix(const std::vector<std::vector<std::pair<int, std::string> > >& paramList) {
|
||||
this->paramListFix.insert(std::end(this->paramListFix), std::begin(paramList), std::end(paramList));
|
||||
}
|
||||
void setParamListFix(const std::vector<std::vector<std::pair<int, std::string> > >& paramListFix) { this->paramListFix = paramListFix; }
|
||||
Operation getOperation() const { return operation; }
|
||||
const std::vector<std::map<std::string, std::string> >& getParamList() const { return paramList; }
|
||||
|
||||
Reference in new issue
Block a user