mvidner/ruby-dbus

Ability to reply or get sender?

DavidMedin opened this issue · 0 comments

I'm trying to implement a StatusNotifierWatcher and Host, and I've found that I need to figure out who called one of my methods, so I can read one of their objects. However, I do not see anything that allows me that information.

If this really doesn't exist, I would suggest that it would be a builtin 'in' argument keyword. For example:
dbus_method :RegisterStatusNotifierItem, "in sender:s service:s" do |sender, service| end