client-cpp  0.10.0
kaa::HttpDataProcessor Class Reference

#include <HttpDataProcessor.hpp>

+ Inheritance diagram for kaa::HttpDataProcessor:
+ Collaboration diagram for kaa::HttpDataProcessor:

Public Member Functions

 HttpDataProcessor (const PublicKey &pubKey, const PrivateKey &privKey, const PublicKey &remoteKey, IKaaClientContext &context)
 
 HttpDataProcessor (IKaaClientContext &context)
 
std::shared_ptr< IHttpRequestcreateOperationRequest (const HttpUrl &url, const std::vector< std::uint8_t > &data)
 
std::string retrieveOperationResponse (const IHttpResponse &response)
 
std::shared_ptr< IHttpRequestcreateBootstrapRequest (const HttpUrl &url, const std::vector< std::uint8_t > &data)
 
std::string retrieveBootstrapResponse (const IHttpResponse &response)
 
void setEncoderDecoder (std::shared_ptr< IEncoderDecoder > encoderDecoder)
 

Detailed Description

Definition at line 40 of file HttpDataProcessor.hpp.

Constructor & Destructor Documentation

kaa::HttpDataProcessor::HttpDataProcessor ( const PublicKey pubKey,
const PrivateKey privKey,
const PublicKey remoteKey,
IKaaClientContext context 
)
inline

Definition at line 42 of file HttpDataProcessor.hpp.

kaa::HttpDataProcessor::HttpDataProcessor ( IKaaClientContext context)
inline

Definition at line 47 of file HttpDataProcessor.hpp.

Member Function Documentation

std::shared_ptr<IHttpRequest> kaa::HttpDataProcessor::createBootstrapRequest ( const HttpUrl url,
const std::vector< std::uint8_t > &  data 
)
std::shared_ptr<IHttpRequest> kaa::HttpDataProcessor::createOperationRequest ( const HttpUrl url,
const std::vector< std::uint8_t > &  data 
)
std::string kaa::HttpDataProcessor::retrieveBootstrapResponse ( const IHttpResponse response)
std::string kaa::HttpDataProcessor::retrieveOperationResponse ( const IHttpResponse response)
void kaa::HttpDataProcessor::setEncoderDecoder ( std::shared_ptr< IEncoderDecoder encoderDecoder)
inline

Definition at line 55 of file HttpDataProcessor.hpp.


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