[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: D-Bus Versus Varlink
From:       Thiago Macieira <thiago () kde ! org>
Date:       2024-03-21 23:57:57
Message-ID: 21816345.4csPzL39Zc () tjmaciei-mobl5
[Download RAW message or body]

On Thursday, 21 March 2024 13:28:09 PDT Lawrence D'Oliveiro wrote:
> With my "call" example script
> <https://gitlab.com/ldo/dbussy_examples/>, you can do
> 
>     call session org.freedesktop.DBus /org/freedesktop/DBus
> org.freedesktop.DBus ListNames

Possible since 2006:

$ qdbus org.freedesktop.DBus /org/freedesktop/DBus ListNames
org.freedesktop.DBus
org.freedesktop.Notifications
:1.924
:1.925
org.freedesktop.Akonadi.Agent.akonadi_maildispatcher_agent
...

(the interface name is optional and has always been)

> which is only slightly less cluttered; and you have the "--json"
> option for passing arguments and returning results, which isn't
> available with either dbus-send or gdbus, that I can see.

There's a slight impedance mismatch there, meaning you'll have a bit of 
information loss. But that's a good idea.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Principal Engineer - Intel DCAI Cloud Engineering



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic