1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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>
This commit is contained in:
Paul Eggleton
2010-12-07 11:33:55 +00:00
parent c6406a0fb3
commit febb7f2632
+3 -11
View File
@@ -18,29 +18,21 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 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 Use register_idle_function() to add a function which the server
methods which you want to "export" via XMLRPC. If the methods have the calls from within idle_commands when no requests are pending. Make sure
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
that those functions are non-blocking or else you will introduce latency that those functions are non-blocking or else you will introduce latency
in the server's main loop. in the server's main loop.
""" """
import time import time
import bb import bb
from bb.ui import uievent
import xmlrpclib
import pickle import pickle
import signal import signal
DEBUG = False DEBUG = False
from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler
import inspect, select import inspect, select
class BitBakeServerCommands(): class BitBakeServerCommands():