Logo Search packages:      
Sourcecode: magicicada version File versions  Download package

def magicicada::syncdaemon::SyncDaemon::_get_initial_data (   self  )  [private]

Get the initial SD data.

Definition at line 123 of file syncdaemon.py.

00123                                :
        """Get the initial SD data."""
        logger.info("Getting initial data")

        status_data = yield self.dbus.get_status()
        self._send_status_changed(*status_data)

        self.content_queue = yield self.dbus.get_content_queue()
        self.content_queue_changed_callback(self.content_queue)

        self.meta_queue = yield self.dbus.get_meta_queue()
        self.meta_queue_changed_callback(self.meta_queue)

        self.folders = yield self.dbus.get_folders()

        self.shares_to_me = yield self.dbus.get_shares_to_me()
        self.shares_to_others = yield self.dbus.get_shares_to_others()

    @defer.inlineCallbacks
    def on_sd_shares_changed(self):


Generated by  Doxygen 1.6.0   Back to index