16 #ifndef ACSDKEXTERNALMEDIAPLAYER_AUTHORIZEDSENDER_H_ 17 #define ACSDKEXTERNALMEDIAPLAYER_AUTHORIZEDSENDER_H_ 21 #include <unordered_set> 27 namespace acsdkExternalMediaPlayer {
46 static std::shared_ptr<AuthorizedSender>
create(
47 std::shared_ptr<avsCommon::sdkInterfaces::MessageSenderInterface> messageSender);
51 void sendMessage(std::shared_ptr<avsCommon::avs::MessageRequest> request)
override;
68 AuthorizedSender(std::shared_ptr<avsCommon::sdkInterfaces::MessageSenderInterface> messageSender);
71 std::mutex m_updatePlayersMutex;
74 std::shared_ptr<avsCommon::sdkInterfaces::MessageSenderInterface> m_messageSender;
77 std::unordered_set<std::string> m_authorizedPlayerIds;
83 #endif // ACSDKEXTERNALMEDIAPLAYER_AUTHORIZEDSENDER_H_
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
This specifies an interface to send a message.
Definition: MessageSenderInterface.h:26