不同进程/系统中的Rhapsody模型之间如何通信?
我们正在将 IBM(以前称为 Telelogic)Rhapsody 用于一个新项目,以进行复杂设备的模型驱动开发。该设备由通过各种网络接口连接的多个子系统组成。我们希望在 Rhapsody 中对整个系统进行建模,然后分别为各个子系统生成代码。
问题是这样的:Rhapsody 可以为单个进程建模和生成代码。我们喜欢首先使用单独的进程对子系统进行建模,然后直接为子系统生成代码。
对于进程间和系统间通信,有哪些替代方案可供我们使用,以便我们可以尽可能轻松地将其滑入 Rhapsody 模型中?
我们正在生成 C++,并希望使用套接字进行系统间通信,Rhapsody 目前使用消息队列在同一进程中的对象和线程之间进行通信。
We are using IBM (formerly Telelogic) Rhapsody for a new project to do model driven development of a complex device. The device consists of several subsystems that are connected by various network interfaces. We'd like to model the entire system in Rhapsody and then generate code separately for the various subsystems.
The problem is this: Rhapsody can model and generate code for a single process. We like to model subsystems using separate processes at first and then generate code for the subsystems directly.
What alternatives are available for inter -process and -system communication that we can slide into the Rhapsody model with as little pain as possible?
We are generating C++ and would like to use sockets for inter-system communication, Rhapsody currently communicates between objects and threads in the same process using message queues.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以实现自己版本的 Rhapsody MessageQueue 类,并使用您的代码而不是默认代码重建 oxf 库。
You can implement your own version of the Rhapsody MessageQueue class and rebuild the oxf library using your code instead of the default code.