[mythtv] [PATCH] Get remote backend status

Nigel Pearson nigel at ind.tansu.com.au
Thu Dec 16 00:22:57 UTC 2004

	Final additions to Tommy Watson's machine status changes:

1) Moved uptime and memory usage stat lookup code
    from statusbox.cpp to util.cpp

2) Added three query strings and RemoteGet* routines
    to query the backend for these stats, along with
    HandleQuery* routines to handle them and call the
    stat lookup code from util.cpp

    Technically, this is a change to the protocol,
    but I am undecided about the merit of updating
    the MYTH_PROTO_VERSION value

3) Now call the RemoteGet routines in statusbox.cpp
    if frontend is not running on backend machine

% cvs diff -u libs/libmyth/util.* libs/libmythtv/remoteutil.* 
programs/mythbackend/mainserver.cpp programs/mythfrontend/statusbox.cpp 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.general.7
Type: application/octet-stream
Size: 18409 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041216/4b43a688/patch.general.obj
-------------- next part --------------

Nigel Pearson, nigel at ind.tansu.com.au | "Reality is that which,
Telstra BI&D, Sydney, Australia       |  when you stop believing
Office: 8255 4222    Fax:  8255 3153  |  in it, doesn't go away."
Mobile: 0408 664435  Home: 9792 6998  |  Philip K. Dick - 'Valis'

More information about the mythtv-dev mailing list