You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering server example and process A and B if one of them calls Foo method, how can I find it's PID and say it was A for example.
If both A and B are connected to session dbus and B gets disconnected from session dbus how can I inform about that (this is possible in C++ dbus library).
The text was updated successfully, but these errors were encountered:
Considering server example and process A and B if one of them calls Foo method, how can I find it's PID and say it was A for example.
This is right now not possible with the "high-level" server mechanisms, but you can use Eavesdrop to get the sender of messages as well, and then query the process id of the sender using org.freedesktop.DBus.GetConnectionUnixProcessID.
If both A and B are connected to session dbus and B gets disconnected from session dbus how can I inform about that (this is possible in C++ dbus library).
Considering server example and process
A
andB
if one of them callsFoo
method, how can I find it'sPID
and say it wasA
for example.If both
A
andB
are connected to session dbus andB
gets disconnected from session dbus how can I inform about that (this is possible in C++ dbus library).The text was updated successfully, but these errors were encountered: