Re: using ORBit_small_listen_for_broken() with bonobo objects



Hi Ben,

On Mon, 2004-07-12 at 12:28 -0700, Ben Liblit wrote:
> > ORBit_small_listen_for_broken() is meant to be used by the clients of a
> > particular server object do detect when the connection with the server
> > got lost.  In the server side there is no connection with its own
> > objects, so...
> 
> ...so it won't even trigger the callback?
> 
> Hmm.  That's too bad.  When a client dies, the server is left holding an 
> instance created by that client which will never be destroyed.  It's 
> effectively a leak.  Is there no way to detect and clean up after dead 
> clients?

	You have to have an object reference to something on the client [ which
you're going to need for any form of notification anyway ], and tie that
to the local resources.

	Of course - it would be possible to add API to moniter server / client
connections - but - well, the whole thing becomes a tangled mess anyway:
the CORBA 'network transparency' thing just doesn't work at the end of
the day - it's a horrific idea.

	Regards,

		Michael.

-- 
 michael ximian com  <><, Pseudo Engineer, itinerant idiot





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