bitbake: knotty, xmlrpc: add observer-only mode
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Mon, 17 Jun 2013 11:11:51 +0000 (12:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jun 2013 15:09:10 +0000 (16:09 +0100)
commit21269848bdb05a680333f47a9dfcdbf4121b4c15
treec8ace89f501253f2dc5d1afa5ebc80f92f675ea9
parentbb97319d4aa73d3a55398b983255348abfbd1c01
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 <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake
bitbake/lib/bb/command.py
bitbake/lib/bb/server/xmlrpc.py
bitbake/lib/bb/ui/knotty.py
bitbake/lib/bb/ui/uievent.py