class QOpcUaConnectionSettings

The common parameters for a connection to a server. More

Added in version 6.6.

Synopsis

Methods

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

This class stores common connection parameters like the session timeout, the secure channel lifetime and the localeIds.

The information from this class is currently only used by the open62541 backend.

__init__()

Constructs a connection settings object.

__init__(other)
Parameters:

otherQOpcUaConnectionSettings

Constructs a connection settings object with the values of other.

__ne__(rhs)
Parameters:

rhsQOpcUaConnectionSettings

Return type:

bool

Returns true if lhs does not contain the same connection settings as rhs; otherwise returns false.

sessionLocaleIds()
Return type:

list of strings

Returns the session locale ids.

setSessionLocaleIds(localeIds)
Parameters:

localeIds – list of strings

Sets localeIds as the new list of locale IDs. This setting is currently not supported by the open62541 backend.

For details, see https://reference.opcfoundation.org/v105/Core/docs/Part4/5.6.3/#Table17

swap(other)
Parameters:

otherQOpcUaConnectionSettings

Swaps connection settings object other with this connection settings object. This operation is very fast and never fails.