C++ Based OPC UA Client/Server SDK  1.5.3.346
Client SDK Introduction

This part of the documentation contains general information about the OPC Client SDK.

Introduction

The OPC UA Client SDK defines APIs which the Application Developer can use to communicate with an OPC UA Server. There are numerous helper classes which store different types of information; however, the primary classes which the Application Developer works with are shown in the figure below.

clientsdkintro.png
Primary classes for the Application Developer

The UaDiscovery class provides access to the discovery endpoint of either the Local Discovery Server (LDS) or a Server. It allows applications to discover servers and find the available endpoints.

A UaSession represents a connection with a single Server. It maintains a list of active Subscriptions. It monitors the connection status, handles automatic reconnects and informs the application about connection status changes.

A UaSubscription represents an active Subscription with a Server. A Subscription is owned by one Session and will have one or more MonitoredItems. MonitoredItems are used to monitor data or events produced by individual nodes in the Server address space.

The client example Client Cpp Sample provides a full client example and is a good starting point for the use of the client SDK.

The following pages provide further information on the Client SDK: