为了真正实现基于CORBA(公用对象请求代理体系结构)的异步通信机制,首先对CORBA事件服务的原理及事件服务类型进行深入探索研究,着重分析了混合模型的信息传输过程。然后针对CORBA的传统通信机制在异步性方面存在的不足,在事件服务的基础上,提出了异步回调模型。这种模型关键是将用户发送请求和接收应答分开,形成2个相互独立的运行过程。通过这个模型,消息的请求和应答互不干扰,用户发送请求后可以利用IIOPClient随时查询应答,实现了信息异步传输。
- Abstract:
- In order to truly achieve asynchronous communication mechanism based on CORBA, in this paper we did further study on principle of CORBA (Common Object Request Broker Architecture)event service and the type of service,and analysed the communication process of a hybrid model.Then aiming at the shortages of traditional CORBA asynchronous communication mechanisms, on the basis of event service,we proposed an asynchronous callback model.The key of this model was separating the cycle of requesting and responsing,so forms two separate courses.Using this model,the message of requesting and responding was separate.Through this model,the message requests and responses was noninterference from each other, the user can query response using IIOPClient at any time after sending a request, thus achieves asynchronous transmission of information.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉