~sylvain-pineau/checkbox/wrap_exporter

Viewing all changes in revision 2273.

  • Committer: Zygmunt Krynicki
  • Date: 2013-07-16 02:09:35 UTC
  • Revision ID: zygmunt.krynicki@canonical.com-20130716020935-71z6aqbkmjvsibh2
plainbox:dbus:service: add ObjectWrapper class.

To quote the docstring:

    Wrapper for a single python object which makes it easier to expose over
    DBus as a service. The object should be injected into something that
    extends dbus.service.Object class.

    The class maintains an association between each wrapper and native object
    and offers methods for converting between the two.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: