16 #ifndef ALEXA_CLIENT_SDK_CAPABILITYAGENTS_APIGATEWAY_INCLUDE_APIGATEWAY_APIGATEWAYCAPABILITYAGENT_H_ 17 #define ALEXA_CLIENT_SDK_CAPABILITYAGENTS_APIGATEWAY_INCLUDE_APIGATEWAY_APIGATEWAYCAPABILITYAGENT_H_ 28 namespace capabilityAgents {
29 namespace apiGateway {
46 static std::shared_ptr<ApiGatewayCapabilityAgent>
create(
47 std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface> avsGatewayManager,
48 std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface> exceptionEncounteredSender);
54 void preHandleDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info)
override;
55 void handleDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info)
override;
56 void cancelDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info)
override;
77 std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface> avsGatewayManager,
78 std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface> exceptionEncounteredSender);
85 void executeHandleDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info);
92 void executeSetHandlingCompleted(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info);
99 void removeDirective(std::shared_ptr<avsCommon::avs::CapabilityAgent::DirectiveInfo> info);
108 void executeSendExceptionEncountered(
109 std::shared_ptr<DirectiveInfo> info,
114 std::unordered_set<std::shared_ptr<avsCommon::avs::CapabilityConfiguration>> m_capabilityConfigurations;
117 std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface> m_avsGatewayManager;
127 #endif // ALEXA_CLIENT_SDK_CAPABILITYAGENTS_APIGATEWAY_INCLUDE_APIGATEWAY_APIGATEWAYCAPABILITYAGENT_H_ Definition: CapabilityAgent.h:47
Definition: CapabilityConfigurationInterface.h:32
void doShutdown() override
::std::string string
Definition: gtest-port.h:1097
Single-thread executor implementation.
Definition: Executor.h:45
Definition: RequiresShutdown.h:32
ExceptionErrorType
Definition: ExceptionErrorType.h:28
void handleDirective(std::shared_ptr< avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override
std::unordered_map< directiveRoutingRule::DirectiveRoutingRule, BlockingPolicy > DirectiveHandlerConfiguration
Definition: DirectiveHandlerConfiguration.h:32
static std::shared_ptr< ApiGatewayCapabilityAgent > create(std::shared_ptr< avsCommon::sdkInterfaces::AVSGatewayManagerInterface > avsGatewayManager, std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > exceptionEncounteredSender)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void handleDirectiveImmediately(std::shared_ptr< avsCommon::avs::AVSDirective > directive) override
void cancelDirective(std::shared_ptr< avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override
void preHandleDirective(std::shared_ptr< avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override
Definition: ApiGatewayCapabilityAgent.h:34
std::unordered_set< std::shared_ptr< avsCommon::avs::CapabilityConfiguration > > getCapabilityConfigurations() override
avsCommon::avs::DirectiveHandlerConfiguration getConfiguration() const override