检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《西南石油学院学报》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[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.196