Re: using ORBit_small_listen_for_broken() with bonobo objects
Michael Meeks <[email protected]> Tue, 13 Jul 2004 16:52:05 +0100
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Organization | Ximian. |
| Message-ID | <[email protected]> |
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. -- [email protected] <><, Pseudo Engineer, itinerant idiot