QOpcUaEndpointDescription#

The OPC UA EndpointDescription . More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaEndpointDescription

Synopsis#

Properties#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

An endpoint description contains information about an endpoint and how to connect to it.

class PySide6.QtOpcUa.QOpcUaEndpointDescription#

PySide6.QtOpcUa.QOpcUaEndpointDescription(arg__1)

Parameters:

arg__1PySide6.QtOpcUa.QOpcUaEndpointDescription

Constructs an endpoint description from rhs.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.QtOpcUa.QOpcUaEndpointDescription.endpointUrl: str#

The URL for the endpoint.

Access functions:
property PᅟySide6.QtOpcUa.QOpcUaEndpointDescription.securityMode: MessageSecurityMode#

Security mode supported by this endpoint.

Access functions:
property PᅟySide6.QtOpcUa.QOpcUaEndpointDescription.securityPolicy: str#

The URI of the security policy.

Access functions:
property PᅟySide6.QtOpcUa.QOpcUaEndpointDescription.server: PySide6.QtOpcUa.QOpcUaApplicationDescription#

The application description of the server.

Access functions:
property PᅟySide6.QtOpcUa.QOpcUaEndpointDescription.userIdentityTokens#

List of user identity tokens the endpoint will accept.

Access functions:
PySide6.QtOpcUa.QOpcUaEndpointDescription.MessageSecurityMode#

This enum type holds the security mode supported by the endpoint.

Constant

Description

QOpcUaEndpointDescription.Invalid

The default value, will be rejected by the server.

QOpcUaEndpointDescription.None

No security.

QOpcUaEndpointDescription.Sign

Messages are signed but not encrypted.

QOpcUaEndpointDescription.SignAndEncrypt

Messages are signed and encrypted.

PySide6.QtOpcUa.QOpcUaEndpointDescription.endpointUrl()#
Return type:

str

Returns the URL for the endpoint.

See also

setEndpointUrl()

Getter of property endpointUrl .

PySide6.QtOpcUa.QOpcUaEndpointDescription.__eq__(arg__1)#
Parameters:

arg__1PySide6.QtOpcUa.QOpcUaEndpointDescription

Return type:

bool

Returns true if this endpoint description has the same value as rhs.

PySide6.QtOpcUa.QOpcUaEndpointDescription.securityLevel()#
Return type:

quint8

Returns a relative index assigned by the server. It describes how secure this endpoint is compared to other endpoints of the same server. An endpoint with strong security measures has a higher security level than one with weaker or no security measures.

Security level 0 indicates an endpoint for backward compatibility purposes which should only be used if the client does not support the security measures required by more secure endpoints.

PySide6.QtOpcUa.QOpcUaEndpointDescription.securityMode()#
Return type:

MessageSecurityMode

Returns the security mode supported by this endpoint.

Getter of property securityMode .

PySide6.QtOpcUa.QOpcUaEndpointDescription.securityPolicy()#
Return type:

str

Returns the URI of the security policy.

Getter of property securityPolicy .

PySide6.QtOpcUa.QOpcUaEndpointDescription.server()#
Return type:

PySide6.QtOpcUa.QOpcUaApplicationDescription

Returns the application description of the server.

See also

setServer()

Getter of property server .

PySide6.QtOpcUa.QOpcUaEndpointDescription.serverCertificate()#
Return type:

PySide6.QtCore.QByteArray

Returns the application instance certificate of the server.

PySide6.QtOpcUa.QOpcUaEndpointDescription.serverRef()#
Return type:

PySide6.QtOpcUa.QOpcUaApplicationDescription

Returns a reference to the application description of the server.

PySide6.QtOpcUa.QOpcUaEndpointDescription.setEndpointUrl(endpointUrl)#
Parameters:

endpointUrl – str

Sets the URL for the endpoint to endpointUrl.

See also

endpointUrl()

PySide6.QtOpcUa.QOpcUaEndpointDescription.setSecurityLevel(securityLevel)#
Parameters:

securityLevelquint8

Sets the security level to securityLevel.

See also

securityLevel()

PySide6.QtOpcUa.QOpcUaEndpointDescription.setSecurityMode(securityMode)#
Parameters:

securityModeMessageSecurityMode

Sets the security mode supported by this endpoint to securityMode.

See also

securityMode()

PySide6.QtOpcUa.QOpcUaEndpointDescription.setSecurityPolicy(securityPolicy)#
Parameters:

securityPolicy – str

Sets the URI of the security policy to securityPolicy.

See also

securityPolicy()

PySide6.QtOpcUa.QOpcUaEndpointDescription.setServer(server)#
Parameters:

serverPySide6.QtOpcUa.QOpcUaApplicationDescription

Sets the application description of the server to server.

See also

server()

PySide6.QtOpcUa.QOpcUaEndpointDescription.setServerCertificate(serverCertificate)#
Parameters:

serverCertificatePySide6.QtCore.QByteArray

Sets the application instance certificate of the server to serverCertificate.

PySide6.QtOpcUa.QOpcUaEndpointDescription.setTransportProfileUri(transportProfileUri)#
Parameters:

transportProfileUri – str

Sets the URI of the transport profile supported by the endpoint to transportProfileUri.

PySide6.QtOpcUa.QOpcUaEndpointDescription.setUserIdentityTokens(userIdentityTokens)#
Parameters:

userIdentityTokens

Sets the user identity tokens to userIdentityTokens.

PySide6.QtOpcUa.QOpcUaEndpointDescription.transportProfileUri()#
Return type:

str

Returns the URI of the transport profile supported by the endpoint.

PySide6.QtOpcUa.QOpcUaEndpointDescription.userIdentityTokens()#

Returns a list of user identity tokens the endpoint will accept.

Getter of property userIdentityTokens .

PySide6.QtOpcUa.QOpcUaEndpointDescription.userIdentityTokensRef()#

Returns a reference to a list of user identity tokens the endpoint will accept.