Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Related Pages

EchoClient.cs

00001 namespace Foo
00002 {
00003   using System;
00004   using DBus;
00005 
00006   public class EchoClient
00007   {
00008     public static int Main(string [] args)
00009     {
00010       Connection connection = Bus.GetSessionBus();
00011       Service service = Service.Get(connection, "org.freedesktop.Test");
00012       Echoer echoer = (Echoer) 
00013         service.GetObject(typeof(Echoer), "/org/freedesktop/Test/Echoer");
00014       System.Console.WriteLine(echoer.Echo("Hello world!"));
00015       
00016       return 0;
00017     }
00018   }
00019 }

Generated on Tue Sep 13 01:28:08 2005 for D-BUS by  doxygen 1.4.4