Dobby 3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Loading...
Searching...
No Matches
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.
 
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

◆ getMethodCallArguments()

AI_IPC::VariantList SDBusAsyncReplySender::getMethodCallArguments ( ) const
overridevirtual

Get method call arguments.

Implements AI_IPC::IAsyncReplySender.

◆ getSenderName()

std::string SDBusAsyncReplySender::getSenderName ( ) const
overridevirtual

Gets the unique name of the connection which originated this message.

Implements AI_IPC::IAsyncReplySender.

◆ getSenderUid()

uid_t SDBusAsyncReplySender::getSenderUid ( ) const
overridevirtual

Get Id of the user (unix user Id) who invoked the method.

Implements AI_IPC::IAsyncReplySender.

◆ 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: