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
AI_IPC::AsyncReplySender Class Reference
Inheritance diagram for AI_IPC::AsyncReplySender:
Inheritance graph
[legend]
Collaboration diagram for AI_IPC::AsyncReplySender:
Collaboration graph
[legend]

Public Member Functions

 AsyncReplySender (const std::weak_ptr< DbusConnection > &dbusConnection, DBusMessage *dbusRequestMsg, DBusMessage *dbusReplyMsg, const VariantList &argList)
 
virtual VariantList getMethodCallArguments () const override
 Get method call arguments.
 
virtual bool sendReply (const VariantList &replyArgs) override
 Send reply. More...
 
virtual uid_t getSenderUid () const override
 Get Id of the user (unix user Id) who invoked the method.
 
virtual std::string getSenderName () const override
 Gets the unique name of the connection which originated this message.
 

Private Attributes

const std::weak_ptr< DbusConnectionmDbusConnection
 
DBusMessage * mDbusReplyMsg
 
const VariantList mArgList
 
std::string mSenderName
 

Member Function Documentation

◆ sendReply()

bool AsyncReplySender::sendReply ( const 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: