当前位置: 首页 > wzjs >正文

阿里云如何做网站wordpress外贸独立站

阿里云如何做网站,wordpress外贸独立站,天津企业模板建站,河南郑州在RTI Connext中,QoS继承关系是指一个QoS Profile可以从另一个QoS Profile继承配置,从而简化配置过程并提高可重用性。通过继承,子Profile会首先初始化为父Profile的所有QoS设置,然后可以覆盖其中的部分设置。 实现方式 单继承&a…

在RTI Connext中,QoS继承关系是指一个QoS Profile可以从另一个QoS Profile继承配置,从而简化配置过程并提高可重用性。通过继承,子Profile会首先初始化为父Profile的所有QoS设置,然后可以覆盖其中的部分设置。

实现方式

  1. 单继承: 使用base_name属性指定父Profile。例如:

<qos_library name="MyLibrary"><qos_profile name="ChildProfile" base_name="ParentLibrary::ParentProfile"><datawriter_qos><reliability><kind>RELIABLE_RELIABILITY_QOS</kind></reliability></datawriter_qos></qos_profile>
</qos_library>
  1. 在这个例子中,ChildProfile继承了ParentProfile的所有设置,并覆盖了DataWriterreliability设置。

  2. 组合(Composition): 从Connext 6开始,支持通过<base_name>元素组合多个QoS Snippet(小片段)。例如:

<qos_library name="MyLibrary"><qos_profile name="ComposedProfile" base_name="BaseProfile"><base_name><element>Snippet1</element><element>Snippet2</element></base_name><datareader_qos><history><kind>KEEP_LAST_HISTORY_QOS</kind><depth>10</depth></history></datareader_qos></qos_profile>
</qos_library>

在这个例子中,ComposedProfile继承了BaseProfile,并组合了Snippet1Snippet2的设置。

实际例子

以下是一个完整的继承和组合的例子:

<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://community.rti.com/schema/7.5.0/rti_dds_qos_profiles.xsd" version="7.5.0"><qos_library name="ExampleLibrary"><!-- 父Profile --><qos_profile name="BaseProfile"><datawriter_qos><reliability><kind>RELIABLE_RELIABILITY_QOS</kind></reliability></datawriter_qos></qos_profile><!-- 子Profile,继承BaseProfile --><qos_profile name="DerivedProfile" base_name="ExampleLibrary::BaseProfile"><datawriter_qos><history><kind>KEEP_LAST_HISTORY_QOS</kind><depth>5</depth></history></datawriter_qos></qos_profile><!-- 组合多个Snippet --><qos_profile name="ComposedProfile" base_name="DerivedProfile"><base_name><element>Snippet1</element><element>Snippet2</element></base_name><datareader_qos><durability><kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind></durability></datareader_qos></qos_profile></qos_library>
</dds>

在这个例子中:

  1. BaseProfile定义了DataWriterreliabilityRELIABLE
  2. DerivedProfile继承了BaseProfile,并覆盖了history设置。
  3. ComposedProfile继承了DerivedProfile,并组合了Snippet1Snippet2,同时为DataReader设置了durability

使用场景

  • 简化配置:通过继承和组合,可以避免重复定义相同的QoS设置。
  • 提高可维护性:当需要修改某些通用设置时,只需更新父Profile或Snippet即可。

Sources:

  • QoS Profile Inheritance and Composition
  • RTI Connext Builtin QoS Profiles
http://www.dtcms.com/wzjs/244107.html

相关文章:

  • 浙江杭州疫情最新情况余姚网站seo运营
  • 阿里云oss做网站抖音seo是什么
  • 做网站那家好优化师
  • ps做网站首页效果特效网站开发的流程
  • 做网站排名费用宁波seo网络推广产品服务
  • 加强部门网站建设线上推广方案
  • 室内设计效果图大全seo标题优化关键词
  • 长春网站建设外包影视剪辑培训机构排名
  • 陕西大型网站建设南京 seo 价格
  • 搭建网站有费用吗360搜索首页网址是多少
  • 网站架构设计师求职信长春网站开发公司
  • 企业官网建站的流程免费b2b网站推广渠道
  • 有产品做推广,选哪个 网站互联网广告是做什么的
  • 东莞市营销网站建设优搜云seo
  • 专业代做网站搜索引擎营销的特点是什么
  • 网站建设与设计杭州网络推广有限公司
  • 怎么做一张图片的网站爱站关键词挖掘
  • 武汉网站建设企业东莞新闻头条新闻
  • 武汉做网站公司生产厂家咸阳网站建设公司
  • 现在那个网站做宣传有效果网站seo优化步骤
  • 最好的商业网站网络营销简介
  • 泉州学校网站建设seo优化排名是什么
  • 网站被采集 更换模板上海关键词排名优化公司
  • 淮北市做网站最好的公司成人大专
  • 查企业信息的软件南京seo排名公司
  • 保健品网站源代码怎么让关键词快速排名首页
  • 东莞企网站建设正规网站建设服务
  • 扬中做网站太原自动seo
  • 微博优惠券网站怎么做合肥网站优化平台
  • 做网站 大文件小程序定制