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

Method Send

src/sessionmgr/sessionmgr-signals.cpp:80–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79
80bool SessionManagerEvent::Send(const std::string &path,
81 SessionManager::EventType type,
82 uid_t owner) const noexcept
83{
84 try
85 {
86 SessionManager::Event ev(path, type, owner);
87 return EmitSignal(ev.GetGVariant());
88 }
89 catch (const DBus::Signals::Exception &ex)
90 {
91 std::cerr << "SessionManagerEvent::Send() EXCEPTION:"
92 << ex.what() << std::endl;
93 }
94 return false;
95}
96
97
98} // namespace Signals

Callers 3

process_registrationMethod · 0.45
~SessionMethod · 0.45
close_sessionMethod · 0.45

Calls 2

GetGVariantMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected