Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道 CORBA 使用支持二进制格式的 IDL 交换数据。有人可以解释一下是否可以用 ASCII 交换数据?
想你提前回复
CORBA 使用 IDL 来描述数据和操作。对于实际传输,它使用一些 IOP - inter orb 协议。虽然理论上可能存在定义和实现其专有的基于文本的 IOP 的 ORB,但我不知道有任何这样做,并且每个主要的 ORB 都使用并提供代表 Internet IOP 的 IIOP,并使用二进制编码。
另一方面,如果您只对使用 CORBA 传输文本消息而不是 ORB 实现的细节感兴趣,那么您当然可以在 2 个 ORBS 之间传输文本消息。