QOpcUaConnectionSettings#

The common parameters for a connection to a server. More

New in version 6.6.

Synopsis#

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#

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.

class PySide6.QtOpcUa.QOpcUaConnectionSettings#

PySide6.QtOpcUa.QOpcUaConnectionSettings(other)

Parameters:

otherPySide6.QtOpcUa.QOpcUaConnectionSettings

Constructs a connection settings object.

Constructs a connection settings object with the values of other.

PySide6.QtOpcUa.QOpcUaConnectionSettings.__ne__(rhs)#
Parameters:

rhsPySide6.QtOpcUa.QOpcUaConnectionSettings

Return type:

bool

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

PySide6.QtOpcUa.QOpcUaConnectionSettings.sessionLocaleIds()#
Return type:

list of strings

Returns the session locale ids.

PySide6.QtOpcUa.QOpcUaConnectionSettings.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/v104/Core/docs/Part4/5.6.3/#Table17

PySide6.QtOpcUa.QOpcUaConnectionSettings.swap(other)#
Parameters:

otherPySide6.QtOpcUa.QOpcUaConnectionSettings

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