Re: handling dead clients/servers



Brian Craft <bcboy@thecraftstudio.com> wrote:
> Everything I'm finding about handling dead connections is fairly useless. Is it
> correct that there's no corba mechanism for learning when a client or server
> dies? This seems really broken.

The client ORB should be able to detect when the server end is dead. If
things are working correctly, you will get a system exception (probably
COMM_FAILURE) when you attempt to invoke a method on a remote object
through that server.

Detecting a dead client from the server would be difficult without
polling through a callback or similar, which just makes the server a
client to that callback object.
-- 
Sam "Eddie" Couter  |  mailto:scouter@bigpond.net.au
Debian Developer    |  mailto:eddie@debian.org
                    |  jabber:sam@jabber.topic.com.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C

PGP signature



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