ORO_REMOTING option

Hi.

There is an ORO_REMOTING option in the configuration. I don't understand what it does. In others threads i read that it should not be activated with corba.

So is it doing the same thing as corba ?

Is it obsolete ?

What does it do ?

How can we use it ?

Thank you for your help.

Paul.

ORO_REMOTING option

On Friday 29 October 2010 11:05:31 paul [dot] chavent [..] ... wrote:
> Hi.
>
> There is an ORO_REMOTING option in the configuration. I don't understand
> what it does. In others threads i read that it should not be activated
> with corba.
>
> So is it doing the same thing as corba ?
>
> Is it obsolete ?
>
> What does it do ?
>
> How can we use it ?

ORO_REMOTING turns on a bunch of template classes that will be generated for
your operation, such that it can be used for calling 'remote' operations from
the C++ interface. The term 'remote' is not correct, because it will also
enable you to call functions exported by scripting, or functions written in
another language, in addition to call functions over CORBA. Any operation
present in the OperationInterface can be called with ORO_REMOTING turned on,
while only 'local' C++ operations can be called when it is off.

That's why it is by default ON. You might want to turn it off if you don't call
corba operations or scripting functions from C++, but that is not recommended.

Peter