DBus Java method call?

Arigead captain.deadly at gmail.com
Tue Dec 1 11:31:23 PST 2009


Schmottlach, Glenn wrote:
> You can find it (callMethodAsync) in the AbstractConnection class.
> 
> 
> -----Original Message-----
> From: dbus-bounces at lists.freedesktop.org [mailto:dbus-bounces at lists.freedesktop.org] On Behalf Of Arigead
> Sent: Tuesday, December 01, 2009 1:14 PM
> To: dbus at lists.freedesktop.org
> Subject: DBus Java method call?
> 
> Hello all,
>     I've been looking whatever info I can find on Java DBus such as the
> API [1] and the High Level Documentation mentioned in the DBus Java Page
> [2].
> 
> Basically that High Level Documentation gives an example of an
> asynchronous call as:
> 
> DBusAsyncReply<Boolean> stuffreply =
>    conn.callMethodAsync(remoteObject, "methodname", arg1, arg2);
> 
> But I can't find that "callMethodAsync" method in the API Documentation
> [1]. I simply want to call a Dbus method defined by RhythmBox and ignore
> any response. Actually I don't think it has any response.
> 
> Could anybody suggest the API methods for Java DBus which achieve this?
> 
> Thanks a million for any help
> 
> 
> [1] http://dbus.freedesktop.org/doc/dbus-java/api/
> [2] http://dbus.freedesktop.org/doc/dbus-java/
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
> 

Struck Gold ;-)

http://bolta-gecko.blogspot.com/2009/06/using-d-bus-in-java.html


More information about the dbus mailing list