Here is a screenshot of kdcop viewing the demo DCOP interface.
Here is a session log demonstrating the DCOP interface using the command line dcop utility.
rich@pegasus$ ./dcopifacedemo & rich@pegasus$ dcop kwin kicker extension_proxy-8719 kwrited kded knotify dcopifacedemo-18247 klauncher khotkeys kdesktop klipper ksmserver rich@pegasus$ dcop dcopifacedemo-18247 DCOPDemoIface QCStringList interfaces() QCStringList functions() QString strVal() int numVal() void setNumVal(int num) void setStrVal(QString str) void output(QString msg) void dump() rich@pegasus$ dcop dcopifacedemo-18247 DCOPDemoIface dump rich@pegasus$ dcop dcopifacedemo-18247 DCOPDemoIface setStrVal 'Hello DCOP' rich@pegasus$ dcop dcopifacedemo-18247 DCOPDemoIface strVal Hello DCOP rich@pegasus$ dcop dcopifacedemo-18247 DCOPDemoIface dump
At the end of all this, the output in the log view was as follows:
String: "", Number: "0" setStrVal( "Hello DCOP" ) String: "Hello DCOP", Number: "0"