- class QOpcUaConnectionSettings¶
The common parameters for a connection to a server. More…
Added in version 6.6.
Synopsis¶
Methods¶
def
__init__()
def
__ne__()
def
swap()
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:
other –
QOpcUaConnectionSettings
Constructs a connection settings object with the values of
other
.- __ne__(rhs)¶
- Parameters:
rhs –
QOpcUaConnectionSettings
- Return type:
bool
Returns
true
iflhs
does not contain the same connection settings asrhs
; otherwise returnsfalse
.- sessionLocaleIds()¶
- Return type:
list of strings
Returns the session locale ids.
See also
- 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
See also
- swap(other)¶
- Parameters:
other –
QOpcUaConnectionSettings
Swaps connection settings object
other
with this connection settings object. This operation is very fast and never fails.