Re: Error handling for reply in dice

2008-03-13 Thread Ronald Aigner
Marc Chaland wrote on 03/13/2008 06:32 PM this: >>From Ronald Aigner: > >> Before calling the reply function you could set the partner member of >> the CORBA_Server_Environment parameter. This environment is passed to >> the error function. In the error function you could then check the >> partner

Re: Error handling for reply in dice

2008-03-13 Thread Marc Chaland
>From Ronald Aigner: > Before calling the reply function you could set the partner member of > the CORBA_Server_Environment parameter. This environment is passed to > the error function. In the error function you could then check the > partner member. Is it a good idea to use CORBA_server_excepti

Re: Error handling for reply in dice

2008-03-13 Thread Ronald Aigner
Marc Chaland wrote on 03/13/2008 04:59 PM this: >>From Ronald Aigner: > >> 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? > > OK, I've tried to put this on an inherited

Re: Error handling for reply in dice

2008-03-13 Thread Marc Chaland
>From Ronald Aigner: > 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? OK, I've tried to put this on an inherited interface. If I put it on the right interface, it's fine

Re: Error handling for reply in dice

2008-03-12 Thread Ronald Aigner
-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 dis

Error handling for reply in dice

2008-03-12 Thread Marc Chaland
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_funct