Skip to content

Typesets

Typesets are used in DaaS-IoT to classify and interpret the semantic meaning of Distributed Data Objects (DDOs).

Each DDO is associated with exactly one typeset, which defines how the data should be handled and processed by the receiving system.


Purpose of Typesets

Typesets serve to:

  • Categorize data exchanged between nodes
  • Enable deterministic dispatch of incoming DDOs
  • Ensure consistent interpretation across platforms and languages
  • Separate application data from system-level signaling

By using typesets, DaaS-IoT avoids ambiguity in message handling and decoding.


Typeset Identification

A typeset is identified by a numeric value and is evaluated by the runtime when a DDO is received.

The typeset determines:

  • Which subsystem or handler processes the DDO
  • How the payload is interpreted
  • Whether the DDO is considered application-level or system-level

Typeset evaluation occurs before payload processing.


Application and System Typesets

Typesets are used to distinguish between different categories of data, including:

  • Application-level data (e.g. telemetry or domain-specific information)
  • Configuration data
  • Events and notifications
  • System-level signaling

This separation allows the system to route and process messages appropriately without application-specific knowledge.


Control and Status Typesets

Starting from version 0.21.03, typesets are also used for control and status signaling.

These typesets are typically associated with:

  • Control messages
  • Acknowledgments
  • Status notifications

Such messages may be transmitted using payload-less DDOs and are handled entirely by the runtime or system-level logic.


Consistency Across Platforms

Typesets ensure that the semantic meaning of data remains consistent across:

  • Different programming languages
  • Different hardware architectures
  • Different operating systems

This consistency is a key requirement for interoperability in heterogeneous deployments.


Relationship with DDOs

Typesets are an integral part of the DDO abstraction.

  • Every DDO includes a typeset
  • The typeset defines how the DDO is interpreted and processed
  • Changes in typeset definitions affect how data is routed and handled

Applications should rely on typesets to ensure correct and predictable data handling behavior.


Note

Typeset definitions and their interpretation are managed by the system. Applications should not assume implicit behavior outside the typesets they explicitly use.