16 #ifndef ALEXA_CLIENT_SDK_CAPABILITYAGENTS_SYSTEM_INCLUDE_SYSTEM_TIMEZONEHANDLER_H_ 17 #define ALEXA_CLIENT_SDK_CAPABILITYAGENTS_SYSTEM_INCLUDE_SYSTEM_TIMEZONEHANDLER_H_ 29 namespace capabilityAgents {
44 static std::unique_ptr<TimeZoneHandler>
create(
45 std::shared_ptr<settings::TimeZoneSetting> timeZoneSetting,
46 std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface> exceptionEncounteredSender);
59 void preHandleDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info)
override;
60 void handleDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info)
override;
61 void cancelDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info)
override;
70 void executeHandleDirectiveImmediately(std::shared_ptr<DirectiveInfo> info);
78 void sendProcessingDirectiveException(
79 const std::shared_ptr<avsCommon::avs::AVSDirective>& directive,
89 bool handleSetTimeZone(
90 const std::shared_ptr<avsCommon::avs::AVSDirective>& directive,
91 const rapidjson::Document& payload);
100 std::shared_ptr<settings::TimeZoneSetting> timeZoneSetting,
101 std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface> exceptionEncounteredSender);
104 std::shared_ptr<settings::TimeZoneSetting> m_timeZoneSetting;
114 #endif // ALEXA_CLIENT_SDK_CAPABILITYAGENTS_SYSTEM_INCLUDE_SYSTEM_TIMEZONEHANDLER_H_ Definition: CapabilityAgent.h:47
Definition: TimeZoneHandler.h:35
void cancelDirective(std::shared_ptr< avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override
::std::string string
Definition: gtest-port.h:1097
Single-thread executor implementation.
Definition: Executor.h:45
void handleDirectiveImmediately(std::shared_ptr< avsCommon::avs::AVSDirective > directive) override
std::unordered_map< directiveRoutingRule::DirectiveRoutingRule, BlockingPolicy > DirectiveHandlerConfiguration
Definition: DirectiveHandlerConfiguration.h:32
static std::unique_ptr< TimeZoneHandler > create(std::shared_ptr< settings::TimeZoneSetting > timeZoneSetting, std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > exceptionEncounteredSender)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void handleDirective(std::shared_ptr< avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override
void preHandleDirective(std::shared_ptr< avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override
avsCommon::avs::DirectiveHandlerConfiguration getConfiguration() const override
static settings::SettingEventMetadata getTimeZoneMetadata()