OpcUaClientConnection

Description

› Inherits:OpcUaConnection

Properties

Methods

connectToEndpoint(String endpointUrl, MessageSecurityMode securityMode, String securityPolicy)

setAnonymousAuthentication()

This method sets the authentication type to anonymous authentication. This is the default authentication type and usually does not have to be set explicitly.

This method was introduced in InCore 2.7.

setUsernameAuthentication(String username, String password)

This method sets the authentication type to user authentication and authenticates with given username and password.

This method was introduced in InCore 2.7.

Enumerations

MessageSecurityMode

Name Value Description
OpcUaClientConnection.Invalid 0
OpcUaClientConnection.None 1
OpcUaClientConnection.Sign 2
OpcUaClientConnection.SignAndEncrypt 3  

Example

See OpcUaClient example on how to use OpcUaClientConnection.