IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

D-Bus Ping Pong Example

Demonstrates a simple message system using D-Bus.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

D-Bus Ping Pong Example▲

Ping Pong is a command-line example that demonstrates the basics of https://. A message is sent to another application and there is a confirmation of the message.

Running the Example▲

To run the example from http://, open the Welcome mode and select the example from Examples. For more information, visit http://.

Run the pong application and run the ping application with the message as the argument.

 
Sélectionnez
$ ./pong &
$ ./ping Hello
Reply was: ping("Hello") got called

List of Files▲

Files:

List of Files▲

  • pingpong/ping-common.h

  • pingpong/ping.cpp

  • pingpong/ping.pro

  • pingpong/pingpong.pro

  • pingpong/pong.cpp

  • pingpong/pong.h

  • pingpong/pong.pro

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.