From febb7f263289a8137bbf2f9cd2d47c30cb75cbb8 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 7 Dec 2010 11:33:55 +0000 Subject: 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 --- bitbake/lib/bb/server/none.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'bitbake/lib/bb/server') 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 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ - This module implements an xmlrpc server for BitBake. + This module implements a passthrough server for BitBake. - Use this by deriving a class from BitBakeXMLRPCServer and then adding - methods which you want to "export" via XMLRPC. If the methods have the - prefix xmlrpc_, then registering those function will happen automatically, - if not, you need to call register_function. - - Use register_idle_function() to add a function which the xmlrpc server - calls from within server_forever when no requests are pending. Make sure + Use register_idle_function() to add a function which the server + calls from within idle_commands when no requests are pending. Make sure that those functions are non-blocking or else you will introduce latency in the server's main loop. """ import time import bb -from bb.ui import uievent -import xmlrpclib import pickle import signal DEBUG = False -from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler import inspect, select class BitBakeServerCommands(): -- cgit v1.2.3-54-g00ecf