MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / DBusAvailable

Method DBusAvailable

src/common/platforminfo.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70const bool PlatformInfo::DBusAvailable() const
71{
72 if (!proxy)
73 {
74 return false;
75 }
76 auto qry = DBus::Proxy::Utils::Query::Create(proxy);
77 return qry->Ping();
78}
79
80
81const std::string PlatformInfo::str() const

Callers 1

TESTFunction · 0.80

Calls 1

PingMethod · 0.80

Tested by 1

TESTFunction · 0.64