diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-29 19:53:46 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-29 19:53:46 +0200 |
commit | 91a4b6bca46968324d76284d041d4bfc82c5a4fe (patch) | |
tree | bacece9dbe1e8834b081644e80a046dddce1534b /module/remote/RequestObject.py | |
parent | translation example added (diff) | |
download | pyload-91a4b6bca46968324d76284d041d4bfc82c5a4fe.tar.xz |
requestobject and working interface to the core
Diffstat (limited to 'module/remote/RequestObject.py')
-rw-r--r-- | module/remote/RequestObject.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/module/remote/RequestObject.py b/module/remote/RequestObject.py new file mode 100644 index 000000000..77322663a --- /dev/null +++ b/module/remote/RequestObject.py @@ -0,0 +1,17 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +""" +authored by: RaNaN + +this module handels the incoming requests + +""" + +class RequestObject(object): + def __init__(self): + self.version = 0 + self.sender = "ip" + self.command = None + self.function = "" + self.args = [] + self.response = ""
\ No newline at end of file |