[omniORB] Shutting down problem

Duncan Grisby dgrisby@uk.research.att.com
Mon, 19 Mar 2001 14:16:04 +0000


On Thursday 15 March, Matthew Berry wrote:

> My server is has a shutdown method which allows a management utility to
> gracefully shutdown the server (and its dependency servers)

[...]
> I could also use orb->shutdown(0), but expect that MyServer_Impl::shutdown
> will not return and the management client will get a COMM FAILURE exception.

Why do you expect that?  That is precisely what orb->shutdown(0) is
for.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --