Shutting down CORBA server
1 posts in topic
Flat View  Flat View

Posted By:   Tuan_Truong
Posted On:   Friday, January 25, 2002 03:16 PM


How do I stop my CORBA server? Right now, I have kill the process manually and I know that is not how stopping server is done. Thanks.

Re: Shutting down CORBA server

Posted By:   mark_robbins  
Posted On:   Wednesday, February 6, 2002 09:03 AM

You will have to add a shutdown method and write a little class to call it.

I would add a status interface that gives features like:

  1. query server state e.g. running/starting/shutting_down

  2. suspend

  3. resume

  4. prepare_to_shutdown i.e. prepare to shutdown

  5. shutdown i.e. go and die now

If you have multiple servers then writing one class now that can be added to all your servers will definitely save time later on.
You could always implement dummy methods for methods that this server doesnt need.
About | Sitemap | Contact