Hi,<br><br><div><span class="gmail_quote">On 3/1/06, <b class="gmail_sendername">RĂ©mi Cardona</b> <<a href="mailto:remi.cardona@free.fr">remi.cardona@free.fr</a>> wrote:</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was having some issues with the old bindings, I'll try your new ones<br>as soon as I can. How do they compare in terms of code writing? Is there<br>some documentation in the tarball? A small tutorial?</blockquote><div><br>
There is an "test/example" in the test directory, though is slightly obscure in providing a server and client in the same process and calling methods using MethodInfo.Invoke ().<br><br>Essentially, define an interface with the [Interface ("
a.b.c")] attribute.<br><br>[Interface ("a.b.c")]<br>interface IExample {<br>void MyMethod (string s, int a);<br>}<br><br>Then,<br><br>Service service = new Service ("<a href="http://my.serivce.name">my.serivce.name
</a>", Bus.SessionBus);<br>IExample remote = service.Get<IExample> ("/path/to/the/object");<br><br>remote.MyMethod ("hello", 102);<br><br>will call a method on the session bus.<br><br>Adam<br>
<br></div></div><br>