开发者

Publish and subscribe to dBus events with Eclipse EventAdmin?

开发者 https://www.devze.com 2023-01-06 21:24 出处:网络
D-Bus on Linux and the EventAdmin in Eclipse both offer a publish/subscribe model. I want to link the two, so I can publish an event to the EventAdmin in Eclipse and it publishes that event to D-Bus a

D-Bus on Linux and the EventAdmin in Eclipse both offer a publish/subscribe model. I want to link the two, so I can publish an event to the EventAdmin in Eclipse and it publishes that event to D-Bus and vice versa. A module in Eclipse listens to selected D-Bus events and publishes开发者_如何学Python them to the EventAdmin. I'm clear how to publish/subscribe to EventAdmin events, but I'm short of Java code that does the d-bus publishing and subscribing. What libraries do I need and where could I find some sample code?


This is the best example of dbus-java subscription that I've found: http://lists.freedesktop.org/archives/dbus/2009-October/011879.html

0

精彩评论

暂无评论...
验证码 换一张
取 消