DBUS Java: How to export properties on DBus interface -
i trying use dbus java library project, while can found tutorials/docs on how create methods , signals dbus interfaces, not helpful documentation describe me in detail exporting properties dbus interfaces.
one thing tried is, implementing get(), set(), , getall() methods of org.freedesktop.dbus.properties interfaces, added separate property interface 3 methods on dbus interface path.
to better describe wanted do, below used org.freedesktop.networkmanager interface example.
this structure of networkmanager interface on d-feet, , wanted add/include properties on java based dbus interface in way included here on network manager properties.
/org/freedesktop/networkmanager > org.freedesktop.dbus.introspectasble > org.freedesktop.dbus.peer > org.freedesktop.dbus.properties > org.freedesktop.networkmanager > methods // network manager methods…. > properties //network manager properties > signals //network manager signals
hope help. thanks
Comments
Post a Comment