summaryrefslogtreecommitdiffstats
path: root/module/remote/socketbackend
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-31 16:01:24 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-31 16:01:24 +0100
commitd35c003cc53d4723d1dfe0d81eeb9bea78cee594 (patch)
treeff9d47a0cee6116836955e37bf4471c1f1d82bee /module/remote/socketbackend
parentsome account fixes (diff)
downloadpyload-d35c003cc53d4723d1dfe0d81eeb9bea78cee594.tar.xz
new crypter plugin API, now decrypting possible for now.
Diffstat (limited to 'module/remote/socketbackend')
-rw-r--r--module/remote/socketbackend/ttypes.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/module/remote/socketbackend/ttypes.py b/module/remote/socketbackend/ttypes.py
index 6589e5923..682b2b52a 100644
--- a/module/remote/socketbackend/ttypes.py
+++ b/module/remote/socketbackend/ttypes.py
@@ -207,13 +207,12 @@ class ServerStatus(BaseObject):
self.reconnect = reconnect
class ServiceCall(BaseObject):
- __slots__ = ['plugin', 'func', 'arguments', 'parseArguments']
+ __slots__ = ['plugin', 'func', 'arguments']
- def __init__(self, plugin=None, func=None, arguments=None, parseArguments=None):
+ def __init__(self, plugin=None, func=None, arguments=None):
self.plugin = plugin
self.func = func
self.arguments = arguments
- self.parseArguments = parseArguments
class ServiceDoesNotExists(Exception):
__slots__ = ['plugin', 'func']
@@ -238,10 +237,16 @@ class UserData(BaseObject):
self.permission = permission
self.templateName = templateName
+class UserDoesNotExists(Exception):
+ __slots__ = ['user']
+
+ def __init__(self, user=None):
+ self.user = user
+
class Iface:
def addFiles(self, pid, links):
pass
- def addPackage(self, name, links, dest):
+ def addPackage(self, name, links, dest, password):
pass
def call(self, info):
pass