Dobby  3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Public Member Functions | Private Attributes | List of all members
SDBusAsyncReplySender Class Reference
Inheritance diagram for SDBusAsyncReplySender:
Inheritance graph
[legend]
Collaboration diagram for SDBusAsyncReplySender:
Collaboration graph
[legend]

Public Member Functions

 SDBusAsyncReplySender (const std::shared_ptr< SDBusIpcService > &ipcService, uint32_t replyId, const char *senderName, uid_t senderUserId, AI_IPC::VariantList &&args)
 
AI_IPC::VariantList getMethodCallArguments () const override
 Get method call arguments.
 
bool sendReply (const AI_IPC::VariantList &replyArgs) override
 Send reply. More...
 
uid_t getSenderUid () const override
 Get Id of the user (unix user Id) who invoked the method.
 
std::string getSenderName () const override
 Gets the unique name of the connection which originated this message.
 

Private Attributes

std::weak_ptr< SDBusIpcServicemIpcService
 
bool mReplySent
 
const uint32_t mReplyId
 
const std::string mSenderName
 
const AI_IPC::VariantList mArgs
 
std::atomic< uid_t > mSenderUid
 

Member Function Documentation

◆ sendReply()

bool SDBusAsyncReplySender::sendReply ( const AI_IPC::VariantList &  replyArgs)
overridevirtual

Send reply.

@parameter[in] replyArgs This is the return value of the method call

Returns
On success: TRUE
On failure: FALSE

Implements AI_IPC::IAsyncReplySender.


The documentation for this class was generated from the following files: