Problems with oneway methods

Billy Newport bnewport@eps.agfa.be
Wed, 10 Dec 1997 10:58:02 +0100


No, I don't think so, oneway should block until the iiop request has been
sent on the wire. Once it is on the wire, it should return.

But, if you call a oneway method on an inprocess object then of course you
wait till it finishes.

-----Original Message-----
From: Axel Grohmann <grohmann@ike.uni-stuttgart.de>
To: Francois SOLER <francois@enit.fr>
Cc: omniorb-list@orl.co.uk <omniorb-list@orl.co.uk>
Date: Wednesday, December 10, 1997 10:58 AM
Subject: Re: Problems with oneway methods


>>
>> When we create 2 CORBA objects dynamicaly (one client A and one server B)
in
>> the same program (program.exe), its seems that the oneway methods of the
>> server do not have the expected behavior (if A calls the oneway method
>> B->service() then it has to wait until the end of the method service()
>>
>> Is there a way to correct this problem ?
>
>As far as I understand, this is the normal way. You could use a thread
>to submit calls to the server object, in which case the client does not
>have to wait.
>
>By the way, if the server object method raises an exception, the
>exception will show up in the client's program as an UNKNOWN exception.
>
>Cheers, Axel
>--
>
>Axel Grohmann
>Institut fuer Kernenergetik und Energiesysteme
>Pfaffenwaldring 31
>D-70550 Stuttgart
>
>Tel.: 0711-685 DW 2130
>
>