-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marc Chaland wrote on 03/12/2008 09:23 PM this:
Hi,
I implemented an IDL with a allow_reply_only method : start. When client calls this, it is blocked until server decides to send reply. This works fine in general. But when client thread disapears after call, I cannot get error code from reply function on server side. I tried to use error_function, but it is not called. Is there another way to get this info ?
When you add the error_function_server attribute to the respective interface, does the generated code for the reply function contain code that looks something like this?
if (DICE_EXPECT_FALSE(DICE_IPC_ERROR(_dice_result))) name_of_error_function(_dice_result, _dice_corba_env);
Then, you might want to check if the IPC returns at all (i.e., the reply function returns). Please send your findings, so we know what steps to check next.
Sincerely, Ron. - -- Mit freundlichen Gruessen / with regards ra3 @ inf.tu-dresden.de http://os.inf.tu-dresden.de/~ra3/