dbus java equivalent function

Victor Yeo victoryeo1974 at gmail.com
Fri Sep 6 09:49:26 UTC 2019


hi,

How can i use Java dbus to connect and send a message to a C dbus program ?

Please help me.

Thanks.

On Thu, Sep 5, 2019 at 6:11 PM Victor Yeo <victoryeo1974 at gmail.com> wrote:
>
> hi,
>
> What is the dbus java equivalent function of the following?
>
>
>         proxy = g_dbus_proxy_new_sync(conn,
>                                       G_DBUS_PROXY_FLAGS_NONE,
>                                       NULL,
>  /* GDBusInterfaceInfo */
>                                       "org.example.TestServer",
>  /* name */
>                                       "/org/example/TestObject",
>  /* object path */
>                                       "org.example.TestInterface",
>  /* interface */
>                                       NULL,
>  /* GCancellable */
>                                       &error);
>
> Regards
> Vic


More information about the dbus mailing list