Skip to content

Session

Sam Gerené edited this page Dec 7, 2017 · 24 revisions

Introduction

The Session class is the core class of the CDP4-SDK for API developers that wish to develop C# applications that need to interface with ECSS-E-TM-10-25A Annex C. It provides a layer of abstraction that exposes the following methods that can be used to Create, Read, Update and Delete objects from an Annex C data-source.

ISession interface

The Session class implements the ISession interface that exposes the following core methods:

method description async
Open Open a connection to a data-source y
Read Read Things from a data-source y
Write Write updates to Things to a data-source y
Refresh Update the Cache with updated Things from a data-source y
Reload Reload all Things from a data-source for all open TopContainers y
Close Close the connection to a data-source and clear the Cache n

The ISession interface exposes more convenience methods that are explained in the following sections.

Open

Clone this wiki locally