[omniORB] general question about stubs

Sveta Shasharina sveta@txcorp.com
Fri, 10 Aug 2001 09:14:10 -0600


Hi Duncan!

You definetely are very busy with all these e-mails flying day and
night across the world :-)

I had my question because I have also looked at stubs
generated by orbacus and they have different functions.  The intersecting
set functions is _duplicate, _nil, and _narrow (orbacus has 2 _narrow
functions, though). The rest is implementation
dependent.

Thanks!
Sveta

-----Original Message-----
From: dpg1@uk.research.att.com [mailto:dpg1@uk.research.att.com]On
Behalf Of Duncan Grisby
Sent: Friday, August 10, 2001 3:02 AM
To: sveta@txcorp.com
Cc: omni
Subject: Re: [omniORB] general question about stubs


On Tuesday 7 August, "Sveta Shasharina" wrote:

> When I look at the stub class (like Echo) I see many public methods.  Some
> of them are definitely used in the client code (like _narrow, _nil,
> _duplicate...).  But some (like_marshalObjRef and _unmarshalObjRef) do not
> seem to be used in the client explicitly.  If so, why are they public?

Those functions are used by other stubs. If you declare an operation
which returns an Echo object reference, the stub for it calls
Echo::_unmarshalObjRef() to unmarshal the object reference.

Cheers,

Duncan.

--
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --