def __init__(self, name, bus=None, private=False):
if not bus:<EOL><INDENT>bus = dbus.SessionBus(private=private)<EOL><DEDENT>self.bus = bus<EOL>"""<STR_LIT>"""<EOL>self.name = name<EOL>"""<STR_LIT>"""<EOL>self.proxy = bus.get_object(name, self.OBJ_PATH)<EOL>"""<STR_LIT>"""<EOL>self.iface = dbus.Interface(self.proxy, self.IFACE)<EOL>"""<STR_LIT>"""<EOL>self.properties = dbus.Interface(self.proxy, IPROPERTIES)<EOL>"""<STR_LIT>"""<EOL>self.get = partial(self.properties.Get, self.IFACE)<EOL>"""<STR_LIT>"""<EOL>self.set = partial(self.properties.Set, self.IFACE)<EOL>"""<STR_LIT>"""<EOL>
Init inner attributes to work with dbus.

        :param name: unique or well-known objects name
        :param bus: bus object;
                    new SessionBus() object will be created if value is None.
        :param private: if True, create bus object using private connection
                        (uses only if bus is None).