Re: is it correct to do...



Hi Diego,

On 11 Sep 2001, Diego González wrote:
> 	if a bonobo server exits is it correct to do this in the client side:
>
> 	bonobo_object_client_construct (client, corba_obj);
>
> 	in the same object that was the client of the server that exit,
> corba_obj is a reference to a different object.

	In a word - no. It may work in some cases, but it looks broken to
me. It looks as if you're using BonoboObjectClient or somesuch derivative.
Please try to avoid using them on the client side - it only complicates
otherwise simple code and adds horrendous confusion.

	BonoboObjectClient is gone in bonobo 2.0 as well - so for future
proofing - avoid it too :-) You'll notice that even in Gnome 1.4 many of
the client side wrappers use raw CORBA handles.

	HTH,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]