ANSI C Based OPC UA Client/Server SDK  1.8.3.398
UaClient_Discovery Struct Reference

The UaClient_Discovery structure manages a UA Client side discovery functionality. More...

#include <uaclient_discovery.h>

Data Fields

OpcUa_String EndpointUrl
 The URL of the endpoint to connect to. More...
 
OpcUa_String AuditEntryId
 An identifier that identifies the client's security audit log entry associated with requests issued by this discovery structure. More...
 
OpcUa_UInt32 SecureChannelLifetime
 The lifetime of the SecureChannel in milliseconds before it gets renewed. More...
 
OpcUa_UInt32 ConnectTimeout
 The timeout for the connect call in milliseconds. More...
 
OpcUa_UInt32 CallTimeout
 The timeout for service calls in milliseconds. More...
 
OpcUa_Boolean Connected
 A flag indicating if a discovery service call is currently active. More...
 

Detailed Description

The UaClient_Discovery structure manages a UA Client side discovery functionality.

Discovery is a two-step approach. In the first step, the available servers are discovered and in the second step the selected server is asked for its available Endpoints, describing combinations of protocols and security settings available to connect to the server.

Field Documentation

OpcUa_String UaClient_Discovery::AuditEntryId

An identifier that identifies the client's security audit log entry associated with requests issued by this discovery structure.

OpcUa_UInt32 UaClient_Discovery::CallTimeout

The timeout for service calls in milliseconds.

The default setting is 10 seconds.

OpcUa_Boolean UaClient_Discovery::Connected

A flag indicating if a discovery service call is currently active.

OpcUa_UInt32 UaClient_Discovery::ConnectTimeout

The timeout for the connect call in milliseconds.

The default value for the connect timeout is 5000 milliseconds.

OpcUa_String UaClient_Discovery::EndpointUrl

The URL of the endpoint to connect to.

If empty, the EndpointUrl parameter of UaClient_Discovery_BeginFindServers or UaClient_Discovery_BeginGetEndpoints is used; an error is returned if empty and UaClient_Discovery_BeginFindServersOnNetwork is called.

OpcUa_UInt32 UaClient_Discovery::SecureChannelLifetime

The lifetime of the SecureChannel in milliseconds before it gets renewed.

This is the time the key pair exchanged during secure channel establishment are valid. The stack starts the renew process that exchanges new key pairs after 75% of the lifetime. The default lifetime is one hour.


The documentation for this struct was generated from the following file: