[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome-components
Subject:    Re: is it correct to do...
From:       Michael Meeks <michael () ximian ! com>
Date:       2001-09-11 1:33:38
[Download RAW message or body]


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


_______________________________________________
gnome-components-list mailing list
gnome-components-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-components-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic