You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(22) |
Sep
(33) |
Oct
(1) |
Nov
(7) |
Dec
(19) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(12) |
Feb
(9) |
Mar
(11) |
Apr
(6) |
May
(3) |
Jun
(8) |
Jul
(9) |
Aug
(4) |
Sep
(12) |
Oct
(8) |
Nov
(9) |
Dec
(3) |
2010 |
Jan
(6) |
Feb
|
Mar
|
Apr
(4) |
May
(19) |
Jun
(5) |
Jul
(3) |
Aug
(6) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
(13) |
2011 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(18) |
Dec
(1) |
2012 |
Jan
(6) |
Feb
|
Mar
|
Apr
(1) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
From: Andreas V. <li...@br...> - 2011-11-28 22:05:11
|
Hello together, I like to inform you that I changed dbus-c++ to build separate libraries for main/glib/ecore integration. This has various advantages for distribution packagers. But you've to know from now on you've to search for dbus-c++-ecore-1 or dbus-c++-glib-1 with pkg-config if you use one of this mainloop integrations. To gi...@gi...:dbus-cplusplus/mainline.git 1c8e43e..04379cf master -> master regards Andreas -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-28 22:00:11
|
Hello together, I like to inform you that I changed dbus-c++ to build separate libraries for main/glib/ecore integration. This has various advantages for distribution packagers. But you've to know from now on you've to search for dbus-c++-ecore-1 or dbus-c++-glib-1 with pkg-config if you use one of this mainloop integrations. regards Andreas -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-28 12:00:10
|
Hello together, after integrating patches over the last years from various people the formating in dbus-c++ was a little rotten. In reality I never liked the tab based formating when I took over maintainership for dbus-c++. So I decided to work on current open merge requests and apply where possible before reformating the source code. Now I used astyle with this options to reformat: --style=ansi --indent=spaces=2 -M --pad-oper --unpad-paren --pad-header --align-pointer=name --lineend=linux Please pay attention that you need a newer version of astyle to support all parameters. I use Version 2.01. http://astyle.sourceforge.net/ If you maintain your local changes in other gitorious branches and like to submit merge requests, please reformat your branch with astyle. Thank you very much for all provided patches! With this revision the code is reformated: => Syncing Gitorious... [OK] To gi...@gi...:dbus-cplusplus/mainline.git b100e9d..1c8e43e master -> master regards Andreas -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-28 11:00:14
|
Am Wed, 28 Sep 2011 21:00:03 +0000 schrieb dbu...@li...: Decision: Rejected Reason: Possible bad side effect on "org.freedesktop.DBus.Object" feature expected. Please show generated code as example where ri is declarated useless. Please provide XML code that generates problem. Hint: applied included improvement for func.size() > 0 now check with !empty() in complete generator => Syncing Gitorious... [OK] To gi...@gi...:dbus-cplusplus/mainline.git 74c1ee3..b100e9d master -> master > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 10/15] Don't add useless declaration of ri. > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-27 22:45:11
|
Am Wed, 28 Sep 2011 20:54:32 +0000 schrieb dbu...@li...: Decision: applied => Syncing Gitorious... [OK] To gi...@gi...:dbus-cplusplus/mainline.git d14c152..2a1e2db master -> master > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 11/15] Have Object subclasses NOT throw > exceptions in destructors. Reason: Post by non-member to a > members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 23:05:13
|
Am Wed, 28 Sep 2011 21:00:06 +0000 schrieb dbu...@li...: Decision: Rejected Reason: diff --git a/src/debug.cpp b/src/debug.cpp index afc6d3e..8dbba36 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -31,9 +31,10 @@ #include <cstdio> #include <stdlib.h> -static void _debug_log_default(const char *, ...) +static void _debug_log_default(const char *format, ...) --> This one is yet in current source { //#ifdef DEBUG + // (void) format; // Avoid an unused argument warning when !defined(DEBUG). --> adding a commented out line doesn't change anything static int debug_env = getenv("DBUSXX_VERBOSE") ? 1 : 0; > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 05/15] Fix missing argument name. > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 23:00:12
|
Am Wed, 28 Sep 2011 21:00:05 +0000 schrieb dbu...@li...: Decision: Rejected Reason: I don't see what the below patch fixes. diff --git a/src/dispatcher.cpp b/src/dispatcher.cpp index 2da4e86..aef1437 100644 --- a/src/dispatcher.cpp +++ b/src/dispatcher.cpp @@ -181,13 +181,13 @@ void Dispatcher::dispatch_pending() while (_pending_queue.size() > 0) { Connection::PrivatePList::iterator i, j; - + i = _pending_queue.begin(); while (i != _pending_queue.end()) { - j = i; - + j = i; + ++j; if ((*i)->do_dispatch()) > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 03/15] Fix a deprecation warning in > src/dispatcher.cpp. Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:55:12
|
Am Wed, 28 Sep 2011 20:54:31 +0000 schrieb dbu...@li...: Decision: Rejected Reason: Please provide better specific INSTALL if available > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 15/15] Remove generic INSTALL. > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:55:11
|
Am Wed, 28 Sep 2011 20:54:30 +0000 schrieb dbu...@li...: Decision: Applied (slightly modified) To gi...@gi...:dbus-cplusplus/mainline.git eaeeea6..d14c152 master -> master > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 12/15] Fix leftover outputs. > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:50:13
|
Am Sat, 26 Nov 2011 23:37:46 +0100 schrieb Andreas Volz: To gi...@gi...:dbus-cplusplus/mainline.git fcae4df..e8262c2 master -> master > Am Wed, 28 Sep 2011 20:54:23 +0000 schrieb > dbu...@li...: > > Decision: Applied > > Reason: > I personaly don't need it, but as it doesn't hurt anyone. I don't > assume relevant increase of memory usage. > > > As list administrator, your authorization is requested for the > > following mailing list posting: > > > > List: dbu...@li... > > From: qol...@gr... > > Subject: [PATCH 07/15] Double the number of Struct members. > > Reason: Post by non-member to a members-only list > > > > At your convenience, visit: > > > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > > > to approve or deny the request. > > > -- > Technical Blog <http://andreasvolz.wordpress.com/> > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > dbus-cplusplus-devel mailing list > dbu...@li... > https://lists.sourceforge.net/lists/listinfo/dbus-cplusplus-devel > -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:50:12
|
Am Wed, 28 Sep 2011 20:54:24 +0000 schrieb dbu...@li...: Decision: Rejected Reason: + // FIXME: In case of a null interface, aren't + // FIXME: we supposed to look for a compatible + // FIXME: one, in case there is no ambiguity? + if (not member or not interface) ... + // FIXME: In case of a null interface, aren't + // FIXME: we supposed to look for a compatible + // FIXME: one, in case there is no ambiguity? + if (not interface or not member or not objpath) > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 08/15] Don't try to build std::string objects on > null pointers. Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:50:11
|
Am Wed, 28 Sep 2011 20:54:30 +0000 schrieb dbu...@li...: Decision: Rejected Reason: Violates common (at least my personal) programming rules - Server(const Server &s) + Server(const Server &) > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 13/15] Remove unused argument in Server's > constructor. Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:45:11
|
Am Wed, 28 Sep 2011 20:54:24 +0000 schrieb dbu...@li...: Decision: Applied To gi...@gi...:dbus-cplusplus/mainline.git e8262c2..eaeeea6 master -> master > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 01/15] Explicit Connection::Private's attributes > initialization. Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:40:13
|
Am Wed, 28 Sep 2011 20:54:23 +0000 schrieb dbu...@li...: Decision: Applied Reason: I personaly don't need it, but as it doesn't hurt anyone. I don't assume relevant increase of memory usage. > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 07/15] Double the number of Struct members. > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 22:15:11
|
Am Wed, 28 Sep 2011 20:54:23 +0000 schrieb dbu...@li...: Decision: Applied To gi...@gi...:dbus-cplusplus/mainline.git 59fc6e9..fcae4df master -> master > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 02/15] Remove useless const qualifiers on return > types. Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 21:50:15
|
Am Wed, 28 Sep 2011 20:54:22 +0000 schrieb dbu...@li...: Decision: Rejected Reason: My main application doesn't longer receive signals from the sender. From my understanding signals have no specific destination and so sender filter isn't useful. Use methods for this reason or please explain this pointing on DBus standard. regards Andreas > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 06/15] Filter signals according to their senders. > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 21:25:11
|
Am Wed, 28 Sep 2011 20:50:06 +0000 schrieb dbu...@li...: Decision: Rejected > Fix warnings of GCC 4.4.3 with -W -Wall Please point out which changes exactly are problematic for GCC 4.4.3 Changes like this doesn't improve the code: -void ObjectAdaptor::Private::unregister_function_stub(DBusConnection *conn, void *data) +void ObjectAdaptor::Private::unregister_function_stub(DBusConnection *, void *) regards Andreas > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 04/15] Fix warnings of GCC 4.4.3 with -W -Wall. > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-11-26 21:20:12
|
Am Wed, 28 Sep 2011 20:50:06 +0000 schrieb dbu...@li...: Decision: Rejected functional test "Test1" failing: > ./TestApp initialize DBus... Start server... Start client thread... write to pipe lt-TestApp: ../include/dbus-c++/util.h:237: R DBus::Slot<R, P>::operator()(P) const [with R = void, P = DBus::DefaultTimeout&]: P>Assertion `not empty()' failed. gdb: #0 0x00dcb422 in __kernel_vsyscall () #1 0x00419651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x0041ca82 in *__GI_abort () at abort.c:92 #3 0x00412718 in *__GI___assert_fail (assertion=0x1ba4bc "not empty()", file=0x1ba4a1 "../include/dbus-c++/util.h", line=237, function=0x1ba4e0 "R DBus::Slot<R, P>::operator()(P) const [with R = void, P = DBus::DefaultTimeout&]") at assert.c:81 #4 0x001b3dbd in DBus::Slot<void, DBus::DefaultTimeout&>::operator() (this=0xa05c31c, param=...) at ../include/dbus-c++/util.h:237 #5 0x001b33a3 in DBus::DefaultMainLoop::dispatch (this=0x805f4e4) at eventloop.cpp:220 #6 0x001b56b9 in DBus::BusDispatcher::do_iteration (this=0x805f4c0) at eventloop-integration.cpp:148 #7 0x001b5355 in DBus::BusDispatcher::enter (this=0x805f4c0) at eventloop-integration.cpp:99 #8 0x08052cb0 in TestApp::initDBus (this=0xbfaea08c) at TestApp.cpp:54 #9 0x08052b1a in TestApp (this=0xbfaea08c) at TestApp.cpp:29 #10 0x08052859 in main (argc=1, argv=0xbfaea144) at TestAppMain.cpp:11 Please ensure your patch is running at least this basic test. Please provide patches by gitorious or sf.net next time. regards Andreas > As list administrator, your authorization is requested for the > following mailing list posting: > > List: dbu...@li... > From: qol...@gr... > Subject: [PATCH 14/15] Replace conditions with asserts where > return required. Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/dbus-cplusplus-devel > > to approve or deny the request. -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Jesús R. de I. <jes...@ha...> - 2011-10-03 09:25:52
|
Hello all, I found a couple of issues in the dbusxx-xml2cpp tool and fixed them. I made a merge request on gitorious: https://gitorious.org/dbus-cplusplus/mainline/merge_requests/6 Can someone look at this fix and apply it to mainline if it is OK? Thanks, Jesus Ruiz de Infante HALE electronic GmbH -- Scanned by MailScanner. |
From: Andreas V. <li...@br...> - 2011-03-10 12:45:08
|
Hello all, I just repaired the long partly broken ecore integration to DBus-C++. If you like to use DBus-c++ with Ecore, please test it. http://www.enlightenment.org/p.php?p=index&l=en http://trac.enlightenment.org/e/wiki/Ecore regards Andreas -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Andreas V. <li...@br...> - 2011-03-10 12:40:08
|
Am Wed, 22 Dec 2010 10:09:35 -0500 (EST) schrieb Pierre-Luc Bacon: > We need to keep track of how many clients are currently connected to > our server application via DBus, and exit when no one is using it. > > Using NameOwnerChanged from org.freedesktop.DBus on the session bus > would allow to detect for client that disappeared because of a crash, > and release the allocation made for it in the server. > > To implement this logic, the unique name given to the client should > be known. > > The only way I see this can be done is through Message::sender() (in > the server). However, the Message object does not seem to be easily > available from the method being called in the bound object (in the > server). > > I could maybe hack my way into the glue file ... but then any change > in it would have to be maintained manually. > > Has anybody dealt with that issue ? Hello, I never had this use case. My applications were always not depending on such logic. But I could imagine such situations. Not sure how to solve this. The easiest idea I've is to add some signal connect() and deconnect() to your interface. Each time a client starts it calls the connect() method and if it stops it calls the deconnect() method. Then the server counts the number of connected clients and could exit if the last one disconnected. Should work and you don't have to hack something into the glue. regards Andreas -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Mat <mat...@gm...> - 2011-03-06 07:39:43
|
---------- Forwarded message ---------- From: Mat <mat...@gm...> Date: Sun, Mar 6, 2011 at 3:30 PM Subject: An installer for dbus on windows To: db...@li... Hi all, I have some projects which depends on dbus libraries, but I do not find a convenient installer for dbus on windows. So me and some friends make one by need. Here is the installer we just uploaded: http://code.google.com/p/dbus-windows-installer/downloads/list The usage steps are : 1. download installer and install it and verify test steps are: 2. download example-echo.zip and unzip it 3. open CMD.exe and execute `dbus-monitor` ( optional, but can help to see status ) 4. execute `echo-server.exe` in the example-echo\ directory 5. execute `try-echo.bat` in the example-echo\ directory If the dbus works, you will see some message responded. Currently, we included D-Bus C and C++ libraries and their dependencies, tested on WinXP x1 and Win7 x2. The build process is done by kde-windows's emerge ( It's really great, thanks a lot!! ), and we just write some NSIS and BATCH scripts to packaging it. This is not official port, but we hope to keep it maintained ( because we need it ourself, too ) If you have any problem or suggestion about the installer, please to reply or send email to us. I will try to help you as I can. Hope it helps and looking forward your reviews and feedback :-) sincerely, Mat. |
From: Andreas V. <li...@br...> - 2011-02-15 23:10:12
|
Hello, I found some time to fix a generator bug with complex nested types. While doing this I wrote a simple generator test case. Now in "test" is a XML which contains the most common type combinations. Please not that the test checks only for generator compilation state, but not for correct communication through the library! Please check all your generated types against the current code and please report any complex types that doesn't work as bug. I'll add more test cases if that happens. For now the "test" is to compile always. This isn't needed in the case of embedded system cross compiling. But there's a ticket for a similar behaviour with examples... regards Andreas -- Technical Blog <http://andreasvolz.wordpress.com/> |
From: Pierre-Luc B. <pie...@sa...> - 2010-12-22 15:28:52
|
We need to keep track of how many clients are currently connected to our server application via DBus, and exit when no one is using it. Using NameOwnerChanged from org.freedesktop.DBus on the session bus would allow to detect for client that disappeared because of a crash, and release the allocation made for it in the server. To implement this logic, the unique name given to the client should be known. The only way I see this can be done is through Message::sender() (in the server). However, the Message object does not seem to be easily available from the method being called in the bound object (in the server). I could maybe hack my way into the glue file ... but then any change in it would have to be maintained manually. Has anybody dealt with that issue ? Thank you |
From: Rafal D. <r....@ke...> - 2010-12-07 10:01:07
|
ObjectAdaptor::Continuation are for implementation of DBus calls which can not complete processing immediatly and have to wait for some external event. For instance my application exposes some DBus interface for some DSP devices. It connects to these devices via TCPIP. Thre is some protocol with Request Reply messages. Most of the time processing is like: 1) Linux client application issues DBus call 2) DBus-C++ server application translates it to TCP/IP messages and sends requests, it cannot answer immediatly and cannot block/wait - DBus-C++ server is supposed to be able handle many requests at the same time (altough it is single threaded - DBus-C++ is dispatching by means of select/pool) 3) To suspend the call DBus-C++ server application calls return_later(&my_dsp_on_tag); where my_dsp_on_tag is some unique object of DBus::Tag type, it is used at completion time to recover original context of client call return_later internally calls exception, this is ugly and slow/inefficent way to transfer control but it is done that way and it works object.cpp: void ObjectAdaptor::return_later(const Tag *tag) { ReturnLaterError rle = { tag }; throw rle; } at some other place in this module: catch(ReturnLaterError &rle) { _continuations[rle.tag] = new Continuation(conn(), cmsg, rle.tag); } 4) when processing can be completed (external event occured, Reply is sent) the following code should executed if( DBus::ObjectAdaptor::Continuation*c = find_continuation(&my_dsp_on_tag) ) { uint32_t const ret=0; c->writer() << ret; return_now(c, my_dsp_on_tag); } So c->writer() stream is used to pass output parameters (in this case only one). Note that you can write anything to it and it can have nothing to do with original prototype of DBus method. So it is not type safe. For instance if you write c->writer() << 0; instead of c->writer() << ret; then it is wrong for strongly typed DBus client because you are returning int32_t instead of uint32_t (uint32_t is declared return type in xml interface). -----Original Message----- From: Andreas Volz [mailto:li...@br...] Sent: Sun 12/5/2010 10:07 PM To: dbu...@li... Subject: Re: [dbus-cplusplus-devel] Setting DBus call return value in ObjectAdaptor::Continuation Am Tue, 17 Aug 2010 09:42:52 +0200 schrieb Rafal Dzbek: > Hello, > > I'm trying to use ObjectAdaptor::Continuation to handle DBus message > asynchronously. > Is there anywhere an example how to do it? > > It seems that I should call > return_now( continuation ); > to finish DBus call, but how to setup return value of the call? > > I see there are structures like MessageIter and Message > MessageIter &it = continuation->writer(); > Message &dbus_msg = it.msg(); > but I'm not sure how to use it. Hello, to be honest I'm not the original author of DBus-C++. I never used ObjectAdaptor::Continuation and also don't know it's reason. Have you found out more about it? Please tell us. regards Andreas ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ dbus-cplusplus-devel mailing list dbu...@li... https://lists.sourceforge.net/lists/listinfo/dbus-cplusplus-devel -- Asylia ExchangeDefender Message Security: Click below to verify authenticity http://www.exchangedefender.com/verify.asp?id=oB7A0hhw019111&from=r....@ke... |