Skip to content

CDP4MessagePackSerializer Overview

samatrhea edited this page Aug 21, 2024 · 2 revisions

Introduction

The CDP4MessagePackSerializer library is used to serialize and deserialize the classess that are defined in the CDP4-COMET Data Model. It makes use of the high-performance MessagePack library for .NET MessagePack-CSharpT to process MessagePack data. The CDP4MessagePackSerializer library exposes IMessagePackSerializer interface and MessagePackSerializer class that can be used to serialize or deserialize any DTO. The IMessagePackSerializer only supports serialization and deserialization of DTO objects and makes use of optimized serialization and deserialization code that does not rely on reflection but on hard coded mappings between the properties of the classes and properties and the MessagePack related objects.

The CDP4MessagePackSerializer is used by the CDP4-COMET-IME, the CDP4-COMET Web Services and the CDP4-COMET Web Application.

Clone this wiki locally