hypfvieh / dbus-java

Improved version of java DBus library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/)
https://hypfvieh.github.io/dbus-java/
MIT License
185 stars 73 forks source link

InterfaceCodeGenerator implementation example #86

Closed yyvus closed 4 years ago

yyvus commented 4 years ago

Hi,

I find no where an example of the usage of the new way to create DBus Objects using the InterfaceCodeGenerator class. Could you guide me in finding a way to for example question the NetworkManager dbus object?

hypfvieh commented 4 years ago

The InterfaceCodeGenerator will only create the required java interface files, it will not create the objects. It does exactly the same the old interface generator has done. The parameter are also the same as the old generator has required. For usage see help text using --help as parameter.

yyvus commented 4 years ago

Thanks for the comment. It helped a lot. I did manage to generate the interfaces using the InterfaceCodeGenerator, but it showed some errors. I create a new issue for clarity.