ftmouse 发表于 2009-9-23 16:56:00

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

通常的 corba 服务程序 都是 orb->run();开始服务

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

希望给个小例子 ,谢谢

modern 发表于 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);
页: [1]
查看完整版本: ace 的 orb->run() 如何结束