diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2010-12-07 11:33:55 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-02-24 14:32:01 +0000 |
commit | febb7f263289a8137bbf2f9cd2d47c30cb75cbb8 (patch) | |
tree | 47472d87b13137f7f797be5e563e45299de5253a | |
parent | c6406a0fb3b34b9271cd0cf759a70b3b1c864314 (diff) | |
download | poky-febb7f263289a8137bbf2f9cd2d47c30cb75cbb8.tar.gz |
bitbake/server/none: remove leftover XMLRPC bits from none server
Remove some comments, imports etc. to do with XMLRPC (inherited from xmlrpc.py
which this file was based upon.)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/server/none.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/bitbake/lib/bb/server/none.py b/bitbake/lib/bb/server/none.py index be0fb8f776..356eea3011 100644 --- a/bitbake/lib/bb/server/none.py +++ b/bitbake/lib/bb/server/none.py | |||
@@ -18,29 +18,21 @@ | |||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
19 | 19 | ||
20 | """ | 20 | """ |
21 | This module implements an xmlrpc server for BitBake. | 21 | This module implements a passthrough server for BitBake. |
22 | 22 | ||
23 | Use this by deriving a class from BitBakeXMLRPCServer and then adding | 23 | Use register_idle_function() to add a function which the server |
24 | methods which you want to "export" via XMLRPC. If the methods have the | 24 | calls from within idle_commands when no requests are pending. Make sure |
25 | prefix xmlrpc_, then registering those function will happen automatically, | ||
26 | if not, you need to call register_function. | ||
27 | |||
28 | Use register_idle_function() to add a function which the xmlrpc server | ||
29 | calls from within server_forever when no requests are pending. Make sure | ||
30 | that those functions are non-blocking or else you will introduce latency | 25 | that those functions are non-blocking or else you will introduce latency |
31 | in the server's main loop. | 26 | in the server's main loop. |
32 | """ | 27 | """ |
33 | 28 | ||
34 | import time | 29 | import time |
35 | import bb | 30 | import bb |
36 | from bb.ui import uievent | ||
37 | import xmlrpclib | ||
38 | import pickle | 31 | import pickle |
39 | import signal | 32 | import signal |
40 | 33 | ||
41 | DEBUG = False | 34 | DEBUG = False |
42 | 35 | ||
43 | from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler | ||
44 | import inspect, select | 36 | import inspect, select |
45 | 37 | ||
46 | class BitBakeServerCommands(): | 38 | class BitBakeServerCommands(): |