17 #ifndef DEFAULTBOOTSTRAPCHANNEL_HPP_
18 #define DEFAULTBOOTSTRAPCHANNEL_HPP_
32 virtual const std::string&
getId()
const {
return CHANNEL_ID; }
36 virtual std::shared_ptr<IHttpRequest> createRequest(
IPTransportInfoPtr server,
const std::vector<std::uint8_t>& body)
43 virtual std::string retrieveResponse(
const IHttpResponse& response)
58 static const std::string CHANNEL_ID;
59 static const std::map<TransportType, ChannelDirection> SUPPORTED_TYPES;
std::string retrieveBootstrapResponse(const IHttpResponse &response)
HttpDataProcessor * getHttpDataProcessor()
virtual ~DefaultBootstrapChannel()
virtual const std::string & getId() const
std::shared_ptr< IHttpRequest > createBootstrapRequest(const HttpUrl &url, const std::vector< std::uint8_t > &data)
virtual const std::map< TransportType, ChannelDirection > & getSupportedTransportTypes() const
DefaultBootstrapChannel(IKaaChannelManager *channelManager, const KeyPair &clientKeys, IKaaClientContext &context)
virtual std::string getURLSuffix()
std::shared_ptr< IPTransportInfo > IPTransportInfoPtr