找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 3133|回复: 1

ace 的 orb->run() 如何结束

[复制链接]
发表于 2009-9-23 16:56:00 | 显示全部楼层 |阅读模式
通常的 corba 服务程序 都是 orb->run();开始服务

如果我希望停止这个服务,让它运行 orb->run() 的下一行代码,该怎么办

希望给个小例子 ,谢谢
发表于 2009-9-23 17:48:17 | 显示全部楼层
/**
     * This operation instructs the ORB to shut down. Shutting down the
     * ORB causes all Object Adapters to be shut down. If
     * @c wait_for_completion parameter is TRUE, this operation blocks
     * until all ORB processing (including request processing and object
     * deactivation or other operations associated with object adapters)
     * has completed.
     */
    void shutdown (CORBA::Boolean wait_for_completion = false);
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-12-23 13:56 , Processed in 0.018941 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表