Corba 请求超时

发布于 2024-07-23 01:21:48 字数 157 浏览 5 评论 0原文

我在 Corba 客户端上工作了一段时间。 我遇到的一个问题是我无法真正定义超时配置。

我正在使用 Mico C++ orb,但这似乎是一个全局问题,因为我发现没有人可以描述是否存在 Corba 定义的方法来配置请求超时。

有谁知道这样的接口或球体初始化?

I am working on a Corba client for some time. One problem that I run in is that I am not really able to define a timeout configuration.

I am using a Mico C++ orb but it seems to be a global problem because I found noone who could describe if there is a Corba defined method to configure a request timeout.

Does anyone know of such an interface or orb initialization?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

征﹌骨岁月お 2024-07-30 01:21:48

CORBA 规范的消息传递部分为此定义了RelativeRequestTimeoutPolicy 和RelativeRoundtripTimeoutPolicy。 您可以查看 中名为“编程客户端超时”的部分http://www.cs.wustl.edu/~schmidt/PDF/C++-report-col19.pdf 了解更多信息。

我没有使用 MICO 的经验,但似乎从版本 2.3.13

The Messaging section of the CORBA spec defines RelativeRequestTimeoutPolicy and RelativeRoundtripTimeoutPolicy for that. You may look at the section named "Programming client timeouts" in http://www.cs.wustl.edu/~schmidt/PDF/C++-report-col19.pdf for more information.

I don't have experience with MICO, but it seems that it is supported since version 2.3.13

且行且努力 2024-07-30 01:21:48

策略不是实时特定的; 策略渗透到核心规范以及实时等可选功能中。 POA 使用策略(就像 ORB 本身一样)来配置不同的行为。

正如 Eric Malenfant 已经指出的那样,作为 CORBA 消息传递方面一部分的两个超时策略将会产生影响。 但是,还有一些称为同步范围策略的其他策略也会影响超时策略。 我不确定 MICO 在多大程度上实现了这些。

Policies are not real-time specific; policies permeate the core spec as well as optional features such as Real Time. The POA uses policies, as does the ORB itself, to configure different behaviors.

As Eric Malenfant already pointed out, there are two timeout policies that are part of the Messaging aspect of CORBA that will have an effect. However, there are also additional policies known as Sync Scope policies that affect the timeout policies as well. I'm not sure how much MICO implements any of those.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文