Re: using ORBit_small_listen_for_broken() with bonobo objects



Gustavo J. A. M. Carneiro wrote:
  CORBA_Object ref = BONOBO_OBJREF(server);

Ah, I knew it had to be something simple.  Thanks.

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?



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