From 3ea9d647ec35c4d30dcaa5b58e9471b775a4716c Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 17 Jun 2013 12:11:51 +0100 Subject: bitbake: knotty, xmlrpc: add observer-only mode I add an observer only mode for the knotty UI and the XMLRPC server that will allow the UI to register a callback with a server in order to receive events. The observer-UI is able to send read-only commands to the server, and also is able to register as an event handler. Read-only commands are the commands that do not change the state of the server and have been marked as such in the command module. The observer can switch to a full client if it calls addClient at any time, and the server has no other client running. (Bitbake rev: 4de9ee21f1fa4d04937cc7430fb1fc8b7a8f61e2) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/uievent.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/ui/uievent.py') diff --git a/bitbake/lib/bb/ui/uievent.py b/bitbake/lib/bb/ui/uievent.py index 0b9a836d0f..038029fcfa 100644 --- a/bitbake/lib/bb/ui/uievent.py +++ b/bitbake/lib/bb/ui/uievent.py @@ -84,6 +84,7 @@ class BBUIEventQueue: def startCallbackHandler(self): + self.server.timeout = 1 while not self.server.quit: self.server.handle_request() self.server.server_close() -- cgit v1.2.3-54-g00ecf