New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=2bb861d6c363c89543b5d2c6c947ca4beb32bae0
commit 2bb861d6c363c89543b5d2c6c947ca4beb32bae0
Author: Denis Oliver Kropp <[email protected]>
Date:   Thu Nov 3 15:38:06 2011 +0100

    VoodooPlay: Add application listing and launching interface for app servers.
    
    This adds a new interface IVoodooPlayer that is provided by an application
    server featuring methods for listing applications and running instances,
    or to launch an application, stop an instance or wait for an instance.
    
    The applications can be shown (played) on a different machine than they
    are running on (app server). The target player is identified, as well as
    the applications, by its UUID.
    
    voodooplay_server is a test server providing Penguins and Windows.
    
    voodooplay_client is a simple interface to the application servers:
    
    = Voodoo Play Test Client =
    
    This utility uses Voodoo Play to discover all players and queries them for 
IVoodooPlayer
    to list and launch applications as well as stop or wait for running 
instances.
    
    Usage: /opt/dfb/bin/voodooplay_client [options]
    
    Options:
      -n <name>                     Set local player name (of this process)
      -l <app UUID> <player UUID>   Launch application (from app server) on 
target player (remote display)
      -s <instance UUID>            Stop instance
      -w <instance UUID>            Wait for instance to terminate
    
    zwido [~/DFB/DirectFB/tools] /opt/dfb/bin/voodooplay_client -n 'Test App 
Client' -l 3db0b3468f582ba7b7cd9518f1e02619 0903eff0506070000000000000000000
    (*) Running player 'Test App Client' with UUID 
68c1eaf3667db2a52394f6da3b8cd790!
    (*) Direct/Thread: Started 'Voodoo/Player' (-1) [DEFAULT OTHER/OTHER 0/0] 
<8388608>...
    (*) Voodoo/Player:   lo               (127.0.0.1) (P-t-P)
    (*) Voodoo/Player:   wlan0            (192.168.21.255)
    (*) Voodoo/Player: Sending DISCOVER to 127.0.0.1
    (*) Voodoo/Player: Sending DISCOVER to 192.168.21.255
    (*) Voodoo/Player: Received message from ourself (127.0.0.1)
    (*) Voodoo/Player: Received message from ourself (192.168.21.73)
    (*) Voodoo/Player: Received SENDINFO from 'Test App Server' (192.168.21.73  
)   =284c7dcdf6d16432c5f79f64e2214cc0= (vendor: , model: )
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.20.219 )   
=903effffffc480930000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.21.0   )   
=8ed5fffe198c116d0000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.21.121 )   
=2c58aec32c331d22a8968dabf5f47f60= (vendor: Philips, model: 2k9)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.20.142 )   
=903effffffc472120000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.21.172 )   
=8ed5fffe1b8be9cf0000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.21.20  )   
=30393033454646464544384133314100= (vendor: Philips, model: 2k10)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.20.185 )   
=903efffeb94727530000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.20.190 )   
=903effffffc7b6130000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.21.170 )   
=903effffffc47d520000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Player: Received SENDINFO from 'PhilipsTV' (192.168.20.75  )   
=8ed5fffe1bd81df20000000000000000= (vendor: Philips, model: 2k11h2)
    (*) Voodoo/Play: <1001ms> [ Test App Server                 ] { 
284c7dcdf6d16432c5f79f64e2214cc0 }  192.168.21.73
    (*) Direct/Interface: Using 'Requestor' implementation of 'IVoodooPlayer'.
    (*) Voodoo/Link: Looking up host '192.168.21.73'...
    (*) Voodoo/Link: Connecting to '192.168.21.73:2323'...
    (*) Voodoo/Link: Connected.
    (*) Voodoo/Link: Sent link code (packet).
    (*) Direct/Thread: Started 'Voodoo Dispatch' (-1) [MESSAGING OTHER/OTHER 
0/0] <8388608>...
    (*) Voodoo/Manager: Connection mode is PACKET
    (*) VoodooConnection/Link: Allocated 34 kB input buffer at 0xff63f8
    (*) Direct/Thread: Started 'Voodoo IO' (-1) [DEFAULT OTHER/OTHER 0/0] 
<8388608>...
    (*) Voodoo/Manager: Created remote super interface 'IVoodooPlayer'.
    (*)             [ 0] { 3db0b3468f582ba7b7cd9518f1e02619 }  Penguins
    (*)                -> launching on 0903eff0506070000000000000000000!
    (*)                => instance UUID is 9a979a29efc5d0a69265be8346e49d73!
    (*)             [ 1] { 2da3e723744b553942f49e2416eae453 }  Windows
    (*)             [ 0] { instance 9a979a29efc5d0a69265be8346e49d73 } { app 
3db0b3468f582ba7b7cd9518f1e02619 } { player 0903eff0506070000000000000000000 }  
Penguins
    (*) Voodoo/Client: Decreasing ref count of connection...
    (*) Voodoo/Link: Closing connection.

 lib/voodoo/Makefile.am                |    9 +
 lib/voodoo/app.h                      |   66 +++++
 lib/voodoo/ivoodooplayer.c            |  249 +++++++++++++++++++
 lib/voodoo/ivoodooplayer.h            |   76 ++++++
 lib/voodoo/ivoodooplayer_dispatcher.c |  362 ++++++++++++++++++++++++++++
 lib/voodoo/ivoodooplayer_dispatcher.h |   41 ++++
 lib/voodoo/ivoodooplayer_requestor.c  |  330 ++++++++++++++++++++++++++
 lib/voodoo/manager.cpp                |    2 +-
 lib/voodoo/play.c                     |   59 +++--
 lib/voodoo/play.h                     |    2 +-
 lib/voodoo/play_internal.h            |   84 +++++++
 lib/voodoo/play_server.c              |  419 +++++++++++++++++++++++++++++++++
 lib/voodoo/play_server.h              |   79 ++++++
 tools/.gitignore                      |    2 +
 tools/Makefile.am                     |   15 +-
 tools/voodooplay_client.c             |  329 ++++++++++++++++++++++++++
 tools/voodooplay_server.c             |  243 +++++++++++++++++++
 17 files changed, 2340 insertions(+), 27 deletions(-)

_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to