16 #ifndef ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_DOWNCHANNELHANDLER_H_ 17 #define ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_DOWNCHANNELHANDLER_H_ 33 class DownchannelHandler;
42 ,
public std::enable_shared_from_this<DownchannelHandler> {
54 static std::shared_ptr<DownchannelHandler>
create(
55 std::shared_ptr<ExchangeHandlerContextInterface> context,
57 std::shared_ptr<MessageConsumerInterface> messageConsumer,
58 std::shared_ptr<avsCommon::avs::attachment::AttachmentManagerInterface> attachmentManager,
59 const std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>&
metricRecorder);
70 std::shared_ptr<ExchangeHandlerContextInterface> context,
72 const std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>& metricRecorder);
76 std::vector<std::string> getRequestHeaderLines()
override;
82 void onActivity()
override;
83 bool onReceiveResponseCode(
long responseCode)
override;
89 std::shared_ptr<avsCommon::utils::power::PowerResource> m_powerResource;
92 std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface> m_metricRecorder;
98 #endif // ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_DOWNCHANNELHANDLER_H_ static std::shared_ptr< DownchannelHandler > create(std::shared_ptr< ExchangeHandlerContextInterface > context, const std::string &authToken, std::shared_ptr< MessageConsumerInterface > messageConsumer, std::shared_ptr< avsCommon::avs::attachment::AttachmentManagerInterface > attachmentManager, const std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > &metricRecorder)
Definition: DownchannelHandler.h:38
::std::string string
Definition: gtest-port.h:1097
Definition: HTTP2RequestSourceInterface.h:34
static std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder
Metric recorder shared ptr.
Definition: BaseAPLCapabilityAgentTest.cpp:261
HTTP2ResponseFinishedStatus
Definition: HTTP2ResponseFinishedStatus.h:29
Definition: ExchangeHandler.h:31
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: MimeResponseStatusHandlerInterface.h:29
Definition: HTTP2SendDataResult.h:32