19 #ifndef ABSTRACTHTTPCHANNEL_HPP_
20 #define ABSTRACTHTTPCHANNEL_HPP_
72 connectivityChecker_ = checker;
80 virtual void processTypes(
const std::map<TransportType, ChannelDirection>& types
89 virtual std::shared_ptr<IHttpRequest> createRequest(
IPTransportInfoPtr server,
const std::vector<std::uint8_t>& body) = 0;
90 virtual std::string retrieveResponse(
const IHttpResponse& response) = 0;
102 KAA_MUTEX_DECLARE(channelGuard_);
AbstractHttpChannel(IKaaChannelManager &channelManager, const KeyPair &clientKeys, IKaaClientContext &context)
virtual void setServer(ITransportConnectionInfoPtr server)
HttpDataProcessor * getHttpDataProcessor()
std::shared_ptr< IConnectivityChecker > ConnectivityCheckerPtr
std::shared_ptr< IFailoverStrategy > IFailoverStrategyPtr
virtual std::string getURLSuffix()=0
virtual void setConnectivityChecker(ConnectivityCheckerPtr checker)
static const TransportProtocolId HTTP_TRANSPORT_ID
virtual void setDemultiplexer(IKaaDataDemultiplexer *demultiplexer)
virtual void syncAck(TransportType type)
virtual void sync(TransportType type)
virtual void setFailoverStrategy(IFailoverStrategyPtr strategy)
virtual ITransportConnectionInfoPtr getServer()
virtual void setMultiplexer(IKaaDataMultiplexer *multiplexer)
virtual TransportProtocolId getTransportProtocolId() const
std::shared_ptr< IPTransportInfo > IPTransportInfoPtr
virtual void processTypes(const std::map< TransportType, ChannelDirection > &types)
std::shared_ptr< ITransportConnectionInfo > ITransportConnectionInfoPtr