用Reactor、Acceptor模式构建CORBA通信层  

IMPLEMENT THE COMMUNICATION LAYER OF CORBA WITH REACTOR AND ACCEPTOR PATTERNS

在线阅读下载全文

作  者:刘轶[1] 李志蜀[1] 陈良银[1] 

机构地区:[1]四川大学计算机系,四川成都610064

出  处:《西南石油学院学报》2002年第3期78-81,共4页Journal of Southwest Petroleum Institute

摘  要:CORBA是一种面向对象的分布式计算环境 ,其核心部分是实现对象间的通信。为了构建通用性高、扩展性强的CORBA通信层 ,引入了Reactor模式、Acceptor模式。Reactor模式能以单进程来完成并发处理 ,而Acceptor模式有效地将服务初始化过程与服务处理过程相分离。首先阐述了Reactor模式、Acceptor模式的结构 ,包括 :句柄、同步事件多路分解器、初始分派器、具体事件处理器、Acceptor和服务处理器。然后讲述了该模式的运行过程 :如何建立连接以及如何处理服务。接着重点阐述了初始分派器、具体事件服务器、Acceptor和服务处理器的实现。并在此基础上说明了该模式的一个特性 :并发性 ;最后总结了该模式的优点和不足。CORBA is an object-oriented distributed computing environment. The core of CORBA is the communication of object. To construct a reusable and extensible communication layer of CORBA, Reactor and Acceptor patterns were introduced. The Reactor design pattern can handle synchronous events in a process, while the Acceptor design pattern decouples service initialization from service processing. At first, the structures of the patterns including handle, synchronous event demultiplexer, initiation dispatcher, concrete event handle, Acceptor and service handler are elaborated. Then the dynamics of these patterns, how to link and how to process service, was explained. Then the implementation of initiation dispatcher,concrete event handler, Acceptor and service handler was described in this paper. And one of the features of the patterns: concurrency is presented. Finally, the benefits and liabilities of the patterns are discussed.

关 键 词:Reactor模式 Acceptor模式 CORBA 结构 特性 

分 类 号:TP393.03[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象