Is there a simple way to selectively shutdown a service running in an IceBox server instead of shutting down the IceBox server and other services running in it?
|
|
Is there a simple way to selectively shutdown a service running in an IceBox server instead of shutting down the IceBox server and other services running in it?
Deqing Hu
Hewlett-Packard Co.
http:://www.hp.com
Hi,
Please update your signature as described on this post.
Regards,
Bernard
Bernard Normier
ZeroC, Inc.
Could you be a bit more specific about what is missing in my signature?
Deqing Hu
Hewlett-Packard Co.
http:://www.hp.com
It's all described here http://www.zeroc.com/vbulletin/showthread.php?t=1697, if you want ZeroC staff to answer your question, you need to include your full name, the URL of your company, university or organization and the name of the Ice project you're working on (with an URL if possible).
Cheers,
Benoit.
Let me know if I meet your signature requirement.
Deqing Hu
Hewlett-Packard Co.
http:://www.hp.com
Hi Deqing,
Yes, your signature looks good now.
IceBox, or more precisely the IceBox ServiceManager, does not let you shut down a single service: you can only shut down the entire IceBox server.
A solution is to define your own Slice interface with a shutdown() operation, implement it in your Service, and use this interface/operation to shutdown just your service.
It should be possible to add a stopService() operation to IceBox::ServiceManager. But then we'd probably want a startService() as well, to be able to restart a stopped service.
Are you using a commercial copy of Ice? Enhancement requests from commercial customers have higher priority.
Best regards,
Bernard
Last edited by bernard; 05-17-2006 at 05:36 PM.
Bernard Normier
ZeroC, Inc.
As far as I know, the paperwork for a commercial license is near completion.
Deqing Hu
Hewlett-Packard Co.
http:://www.hp.com
There are currently 1 users browsing this thread. (0 members and 1 guests)