Ticket #2 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

Rely on introspection rather than hardcoding the interface

Reported by: mickey Owned by: mickey
Priority: major Milestone: milestone3
Component: framework/controller Version:
Keywords: org.freesmartphone.Device.List Cc:

Description

To implement org.freesmartphone.Device.List we rely on <object>.interface. This is wrong for two reasons:

  • An object can have more than just one interface
  • Double bookkeeping is evil

Solution: Use the built-in dbus introspection interface of objects. Downside: Will require an additional dbus roundtrip, but I gather List'ing objects will only occur seldomly (once on startup).

Change History

Changed 2 years ago by mickey

  • milestone changed from milestone2 to milestone3

Changed 2 years ago by mickey

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.