25#ifndef SDBUSASYNCREPLYSENDER_H
26#define SDBUSASYNCREPLYSENDER_H
41 const char *senderName,
43 AI_IPC::VariantList &&args);
48 bool sendReply(
const AI_IPC::VariantList& replyArgs)
override;
54 std::weak_ptr<SDBusIpcService> mIpcService;
57 const uint32_t mReplyId;
58 const std::string mSenderName;
59 const AI_IPC::VariantList mArgs;
60 mutable std::atomic<uid_t> mSenderUid;
Helper class to send reply of a method call asynchronously.
Definition IpcCommon.h:117
Definition SDBusAsyncReplySender.h:37
AI_IPC::VariantList getMethodCallArguments() const override
Get method call arguments.
Definition SDBusAsyncReplySender.cpp:75
uid_t getSenderUid() const override
Get Id of the user (unix user Id) who invoked the method.
Definition SDBusAsyncReplySender.cpp:80
bool sendReply(const AI_IPC::VariantList &replyArgs) override
Send reply.
Definition SDBusAsyncReplySender.cpp:56
std::string getSenderName() const override
Gets the unique name of the connection which originated this message.
Definition SDBusAsyncReplySender.cpp:101
Definition SDBusIpcService.h:53