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

Public Member Functions

 DbusUserIdSenderIdCache (AI_IPC::IIpcService &parentIpcService, const std::shared_ptr< IDbusPackageEntitlements > &dbusPackageEntitlements)
 
void nameChanged (const AI_IPC::VariantList &args)
 
virtual void addSenderIUserId (const std::string &senderId, uid_t userId) override
 
virtual boost::optional< uid_t > getUserId (const std::string &senderId) const override
 
virtual void removeUserId (const std::string &senderId) override
 

Private Attributes

std::unordered_map< std::string, uid_t > mSenderIdUserIdCache
 
std::mutex mMutex
 
std::string mNameChangedSignalHandler
 
AI_IPC::IIpcServicemParentIpcService
 
std::shared_ptr< IDbusPackageEntitlementsmDbusPackageEntitlements
 

Member Function Documentation

◆ addSenderIUserId()

void AI_IPC::DbusUserIdSenderIdCache::addSenderIUserId ( const std::string &  senderId,
uid_t  userId 
)
overridevirtual

◆ getUserId()

boost::optional< uid_t > AI_IPC::DbusUserIdSenderIdCache::getUserId ( const std::string &  senderId) const
overridevirtual

◆ removeUserId()

void AI_IPC::DbusUserIdSenderIdCache::removeUserId ( const std::string &  senderId)
overridevirtual

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