[omniORB] sequence<interface>

David Riddoch djr@orl.co.uk
Fri, 18 Dec 1998 18:23:15 +0000 (GMT)


On Fri, 18 Dec 1998 oleg_machulski@geocities.com wrote:

> > 
> >   A_impl* a = new A_impl(whatever ...);
> >   a->_obj_is_ready(boa);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> boa->obj_is_ready(a); is better :)
> 
> >   seq[0] = a->_this();
> > 

We should really do ...

 A_impl* a = new A_impl(whatever ...);
 A_ptr aref = a->_this();
 boa->obj_is_ready(av);
 CORBA::release(aref);

if we want to be portable. Unfortunately I think there may be a problem
with this, and it is suggested that you use a->_obj_is_ready(boa) with
omniORB2. Have a look at:

  http://www.orl.co.uk/omniORB/archives/1998-02/0058.html


Cheers,
David