OpenSplice C# API  v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
Domain Module
DomainModule_UML.png
Class model of the DCPS Domain Module

The DCPS Domain Module is comprised of the following classes:

The Domain Participant

The DomainParticipant represents the participation of the application on a communication plane that isolates applications running on the same set of physical computers from each other. A domain establishes a virtual network linking all applications that share the same domainId and isolating them from applications running on different domains. In this way, several independent distributed applications can coexist in the same physical network without interfering, or even being aware of each other.

The Domain Participant has several roles:

  • It acts as the container for all other Entities
  • Applications that want to join a Domain must create a DomainParticipant
  • A DomainParticipant acts as a factory for DomainEntities i.e. entities that either define, read or write information into the domain.

The DomainParticipant itself is also a specialisation of the Entity (Infrastructure module) class:

  • It has QoSPolicies that define its behaviour
  • It has a StatusCondition that keeps track of its communication status
  • It has a Listener that can handle the events of all embedded DomainEntities that did not handle those events themselves

Applicable QoS

QoS Brief
USER_DATA User data
ENTITY_FACTORY Auto enable/disable entities on creation
WATCHDOG_SCHEDULING Used to set the scheduling parameters to create the watchdog thread
LISTENER_SCHEDULING Used to set the scheduling parameters to create the listener thread

Default QoS Values

QoS Attribute Value
USER_DATA value.length 0
ENTITY_FACTORY autoenable_created_entities TRUE
WATCHDOG_SCHEDULING scheduling_class.kind
scheduling_priority_kind.kind
scheduling_priority
SCHEDULE_DEFAULT
PRIORITY_RELATIVE
0
LISTENER_SCHEDULING scheduling_class.kind
scheduling_priority_kind.kind
scheduling_priority
SCHEDULE_DEFAULT
PRIORITY_RELATIVE
0

Related Status Conditions

None directly related to Domain Participant actions

Related Listeners

The Domain Participant does not possess its own own listeners and instead inherits from all of its child entities

dot_inline_dotgraph_2.png