Re: Server shutdown



CORBA_ORB_shutdown() on the server should cause CORBA_ORB_run() to
subsequently return, whether or not shutdown() was called in the same
thread (nested call from inside run()) or not.

	-Huw

> I think you'll need a remote call to a server-side function (written by 
> you) which does the exit and therefore causes CORBA_ORB_run to terminate.
> 
> CORBA_ORB_shutdown on the client side will just shutdown the client ORB.
> 
> G.
> 
> On Wednesday, May 8, 2002, at 04:11 PM, Katherine Goude wrote:
> 
> >
> > Anybody know how I can shutdown a server program (i.e. make it exit the
> > CORBA_ORB_run function) from the client? It's annoying to have the
> > client run and then exit automatically but then have to kill the server
> > manually (ctrl-C) - there must be a nicer way!
> >
> 
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list

-- 
Huw Rogers <rogers@building2.co.jp>




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