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
SDBusAsyncReplyGetter Class Reference

Implements the IAsyncReplyGetter getter interface to provide an API to get the results to a method call. More...

Inheritance diagram for SDBusAsyncReplyGetter:
Inheritance graph
[legend]
Collaboration diagram for SDBusAsyncReplyGetter:
Collaboration graph
[legend]

Public Member Functions

bool getReply (AI_IPC::VariantList &argList) override
 
void setReply (bool succeeded, AI_IPC::VariantList &&argList)
 

Private Attributes

bool mFinished
 
bool mSucceeded
 
AI_IPC::VariantList mArgs
 
std::mutex mLock
 
std::condition_variable mCond
 

Detailed Description

Implements the IAsyncReplyGetter getter interface to provide an API to get the results to a method call.

Member Function Documentation

◆ getReply()

bool SDBusAsyncReplyGetter::getReply ( AI_IPC::VariantList &  argList)
overridevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Blocking call that clients make when they want to get the reply to a method call.

Implements AI_IPC::IAsyncReplyGetter.

◆ setReply()

void SDBusAsyncReplyGetter::setReply ( bool  succeeded,
AI_IPC::VariantList &&  argList 
)

Called by the SDBusIpcService class when a reply is received for the method call.


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