[erlang-questions] Does oneway CORBA method send result back to server?

Niclas Eklund nick@REDACTED
Wed Jun 3 14:13:34 CEST 2009


Hello!

The exact behavior of oneway operations isn't defined in the OMG 
specifications. I.e. depends on the implementation in the client- and 
server-side ORBs. When Orber act as a server it normally doesn't send any 
information back to the client, but some system exceptions like 'MARSHAL' 
will be sent. Location forward messages can also be sent to the client 
ORB, but these are managed by the ORB.

How the client-side ORB (TAO in this case) behaves in all cases I cannot 
tell. When Orber act as client system exceptions like 'MARSHAL', 
'COMM_FAILURE', 'INV_OBJREF' and 'BAD_CONTEXT' will in some situations be 
thrown. I.e. you can roughly compare Orbers oneway implementation with 
gen_server:cast/2.

Best regards,

Niclas @ Erlang/OTP

On Wed, 3 Jun 2009, Peter A. Smirnoff wrote:

> Hello there,
>
> I have one CORBA object work as a callback. The callback's methos is marked as "oneway". The objects is called
> from non-erlang orber (TAO). The question is : does oneway method return any value via network?
>
>
> interface ICallback
> {
>    oneway void setAnswer(in Data aData);
> };
>
> When setAnswer call completes, does erlang orber send anything back to server via network?
>
> Thx in adv,
> Peter




More information about the erlang-questions mailing list