[Mono-list] DBus: how to monitor the messages exchanged?

Julien Sobrier julien at sobrier.net
Wed Jun 28 23:43:48 EDT 2006


Hello,
I would like to use DBus to exchange strings between 2 applications.
I've seen the 2 examples provided with the mono bindings, but I don't
see how to monitor all the messages sent by another application. The
examples show how to grab a message on the session, but not how to raise
an event every time a message is sent.

For example, the application A sends "a", then "b", then "c". I couldn't
figure out how to raise an event in the Application B for each of these
events.

Any idea or example on how to monitor the messages?

Thank you
Julien


More information about the Mono-list mailing list