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
I have a case when the need for subscriptions for different properties comes and goes.
As a workaround, I can have a generic subscription, which will delegate to specific handlers, relieving one from the need to register handlers in the DeviceManager. But having only handlers with a lifecycle tied to the objects representing devices seems more natural.
As far as I can see, underlying org.freedesktop.dbus.connections.impl.DBusConnection already has corresponding methods.
The text was updated successfully, but these errors were encountered:
I added methods to remove signal handlers.
But you can already do that without these methods by calling deviceManager.getDBusConnection().removeSigHandler(class, handler)
I have a case when the need for subscriptions for different properties comes and goes.
As a workaround, I can have a generic subscription, which will delegate to specific handlers, relieving one from the need to register handlers in the
DeviceManager
. But having only handlers with a lifecycle tied to the objects representing devices seems more natural.As far as I can see, underlying org.freedesktop.dbus.connections.impl.DBusConnection already has corresponding methods.
The text was updated successfully, but these errors were encountered: