毕业设计外文翻译--基于javascript的消息管理机制(编辑修改稿)内容摘要:
working on the client system. Server group can contain multiple servers, from a design perspective different servers to handle different functional applications of messages, and the server is not static and is used by the developer to dynamically add the Message Manager management. 产生消息的统一接口,即消息产生器,以保证从此接口产生的消息都是消息管理器可以通过验证的规范消息。 分派器 如果说消息产 生器是消息管理器的消息输出接口,那么分派器就是消息的接收接口。 分派器一方面提供对外的消息接收接 121,一方面在接收到消息后,根据消息头的信息把消息分派到指定的“服务器”。 服务器组 这里的服务器不是 Web应用中所指的服务器,而是针对消息而言的消息处理服务器,都是工作于客户端的机制。 服务器组可以包含多个服务器,不同的服务器从设计上讲是为了处理不同功能应用的消息,并且服务器不是静态的,是由开发人员在使用消息管理器时动态添加管理的。 比如 , 在 — 个购物平,可以包含至少两大功能模块:用户管理和购物 管理,那么消息服务器就可For example, in a shopping square, may contain at least two functional modules: user management and shopping management, the message server can be added at least two: one to handle user management module generated messages and another for shopping management module . Message Manager server as the core, contains three submodules: message queues, message storage and message processing. Each message server submodules are mutually independent. In addition, message queues, and provides message storage capacity of external custom interfaces, message processing customized interfaces provide external handle the details. Message server workflow is as follows: 1) The server receives the message to identify the message type, and if the query type The message is sent directly to the message memory, or add the message queue。 2) Type of message in a message memory query to find the specified message after the destruction, As query results are sent a copy of the message the message queue, to note that 以至少应该添加两个:一是处理用户管理模块产生的消息,另一个针对购物管理模块工作。 服务器作为消息管理器的核心,包含了三个子模块:消息队列、消息存储和消息处理。 每个消息服务器的子模块之间都是相互独立的。 另外,消息队列和消息存储对外提供容量定制接口,消息处理对外提供处理细节定制接口。 消息服务器的工作流程如下: 1)服务器接收到消息后辨别消息类型,如果是查询类型 的消息则直接送往消息存储器,否则加入消息队列; 2)查询类消息在消息存储器中找到指定的消息后便销毁, 而作为 查询结果的消息的副本则送往消息队列,需要注意的是 作为查询结果的副本,不应当在下一次Copy of the results of a query, the next should not be stored again in the process。 3) The message from the message queue processor cycles to read and executed according to the content of the message corresponding processing, handling details by Message Manager users (Web application dev。毕业设计外文翻译--基于javascript的消息管理机制(编辑修改稿)
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。
用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。