前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Yate设计

Yate设计

作者头像
雪影
发布2022-01-11 14:48:03
3820
发布2022-01-11 14:48:03
举报
文章被收录于专栏:流媒体人生流媒体人生

From: http://yate.null.ro/pmwiki/index.php?n=Main.Design

The purpose of Yate's design is to provide an extensible telephony engine. Holding the base code as simple as possible and adding functionality as needed allows one to find the best balance between desired functionality, performance and stability.

Yate的设计目标是为了提供一个可扩展性的电话引擎,试图以最简简洁的代码,在扩展所需功能与性能、稳定性之间达到最佳平衡。

Engine

The engine holds the base C++ classes of Yate and connects together all components. There is a diagram showing how all components interact.

该引擎基于Yate的C++类,将所有组件连接在一起工作。以下图表描述了组件之间的交互过程。

Modules

Most real functionality is provided by modules loaded at runtime. These can be dynamical libraries loaded as plugins in the engine or external applications started by a specific module (extmodule ) that allows them to talk to the engine and other modules.

大部分功能由运行时加载的模块实现。这些模块以动态链接库为载体,作为插件被引擎或外部程序加载,模块与引擎、模块与模块之间可相互通信。

Messages

The signaling between Yate modules (either plugins or external modules) is performed by using messages . They provide extensibility, customization and technology independence. Each module that needs something from another or tries to notify about some event creates and emits a message. The message flows through the Engine which tries to deliver it to the proper target.

模块(包括插件或外部模块)之间的通信通过消息来实现。消息机制是可扩展的、可定制的且技术独立的。模块通过创建、发送消息的方式通知其他模块或接受其他模块的发送的信息。消息流通过引擎总会发送到恰当的目标中。

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2011-01-19 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Engine
  • Modules
  • Messages
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档