#include <uadiscovery.h>
Public Member Functions | |
UaDiscovery () | |
~UaDiscovery () | |
UaStatus | findServers (ServiceSettings &serviceSettings, const UaString &sDiscoveryURL, ClientSecurityInfo &clientSecurityInfo, UaApplicationDescriptions &applicationDescriptions) |
UaStatus | getEndpoints (ServiceSettings &serviceSettings, const UaString &sDiscoveryURL, ClientSecurityInfo &clientSecurityInfo, UaEndpointDescriptions &endpointDescriptions) |
The UaDiscovery class manges a UA Client side discovery connection.
UaClientSdk::UaDiscovery::UaDiscovery | ( | ) |
Construction
UaClientSdk::UaDiscovery::~UaDiscovery | ( | ) |
Destruction
UaStatus UaClientSdk::UaDiscovery::findServers | ( | ServiceSettings & | serviceSettings, |
const UaString & | sDiscoveryURL, | ||
ClientSecurityInfo & | clientSecurityInfo, | ||
UaApplicationDescriptions & | applicationDescriptions | ||
) |
Get a list of servers known by the discovery server
sDiscoveryURL | The URL identifying an OPC UA Discovery Server. UA TCP: opc.tcp://MACHINE:4840 Web Service: https://MACHINE/ServerName |
serviceSettings | [in] The read processed specific settings for the method call. See HistoryReadProcessedContext for more details |
clientSecurityInfo | The security information about the client. |
applicationDescriptions | Array of OpcUa_EndpointDescription |
UaStatus UaClientSdk::UaDiscovery::getEndpoints | ( | ServiceSettings & | serviceSettings, |
const UaString & | sDiscoveryURL, | ||
ClientSecurityInfo & | clientSecurityInfo, | ||
UaEndpointDescriptions & | endpointDescriptions | ||
) |
Get a list of endpoints supported by the server
sDiscoveryURL | The URL identifying an OPC UA Discovery Server. UA TCP: opc.tcp://MACHINE:4840 Web Service: https://MACHINE/ServerName |
serviceSettings | [in] The read processed specific settings for the method call. See HistoryReadProcessedContext for more details |
clientSecurityInfo | The security information about the client. |
endpointDescriptions | Array of OpcUa_EndpointDescription |