diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-20 15:33:01 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-20 15:33:01 +0100 |
commit | ceb59ee0739546368135b0d86a69b17c92bfbccf (patch) | |
tree | 863b70e281f8aa833d2a4a72a61f25113dd9b8e3 /module/remote/ttypes.py | |
parent | separated handlebars init (diff) | |
download | pyload-ceb59ee0739546368135b0d86a69b17c92bfbccf.tar.xz |
added models and collections for progress
Diffstat (limited to 'module/remote/ttypes.py')
-rw-r--r-- | module/remote/ttypes.py | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/module/remote/ttypes.py b/module/remote/ttypes.py index 36b56d961..4368479fd 100644 --- a/module/remote/ttypes.py +++ b/module/remote/ttypes.py @@ -284,14 +284,13 @@ class ProgressInfo(BaseObject): self.download = download class ServerStatus(BaseObject): - __slots__ = ['pause', 'active', 'queue', 'total', 'speed', 'download', 'reconnect'] + __slots__ = ['queuedDownloads', 'totalDownloads', 'speed', 'pause', 'download', 'reconnect'] - def __init__(self, pause=None, active=None, queue=None, total=None, speed=None, download=None, reconnect=None): - self.pause = pause - self.active = active - self.queue = queue - self.total = total + def __init__(self, queuedDownloads=None, totalDownloads=None, speed=None, pause=None, download=None, reconnect=None): + self.queuedDownloads = queuedDownloads + self.totalDownloads = totalDownloads self.speed = speed + self.pause = pause self.download = download self.reconnect = reconnect @@ -435,6 +434,8 @@ class Iface(object): pass def getProgressInfo(self): pass + def getServerStatus(self): + pass def getServerVersion(self): pass def getUserData(self): @@ -447,12 +448,6 @@ class Iface(object): pass def isInteractionWaiting(self, mode): pass - def isTimeDownload(self): - pass - def isTimeReconnect(self): - pass - def kill(self): - pass def login(self, username, password): pass def moveFiles(self, fids, pid): @@ -499,7 +494,7 @@ class Iface(object): pass def setPassword(self, username, old_password, new_password): pass - def statusServer(self): + def stop(self): pass def stopAllDownloads(self): pass |