Commit b046dbbe authored by Antoine Millet's avatar Antoine Millet
Browse files

Cleaned up client classes

parent 44a50d49
Loading
Loading
Loading
Loading
−90

File deleted.

−10
Changes for cloudcontrol/server/clients/__init__.py: 0 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -202,13 +202,6 @@ class Client(object):
        self._tql_object.register(CallbackTag('idle', lambda: self.idle, ttl=0))
        self._tql_object.register(CallbackTag('ip', lambda: self.ip))

    def get_tags(self, tags):                                                   # DEPRECATED
        """ Get tags on the remote node.

        :param tags: tags is the list of tags to fetch
        """
        return self._connection.call('get_tags', tags)

    def shutdown(self):
        """ Shutdown the connection to the client.
        """
@@ -229,9 +222,6 @@ class Client(object):
        """
        self._last_action = datetime.now()

    def get_remote_tags(self, tag):                                             # DEPRECATED
        return self.conn.call('get_tags', (tag,))[tag]

    def async_remote_tags(self, watcher, robj, tags):
        """ Asynchronously update tags from the remote client using
            specified watcher.