- class QOpcUaApplicationDescription#
The OPC UA ApplicationDescription . More…
Synopsis#
Properties#
Methods#
def
__init__()
def
applicationUri()
def
discoveryUrls()
def
__eq__()
def
productUri()
def
setProductUri()
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#
The application description contains information about an OPC UA application.
- class ApplicationType#
This enum type holds the application type.
Constant
Description
QOpcUaApplicationDescription.Server
This application is a server.
QOpcUaApplicationDescription.Client
This application is a client.
QOpcUaApplicationDescription.ClientAndServer
This application is a client and a server.
QOpcUaApplicationDescription.DiscoveryServer
This application is a discovery server.
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property applicationNameᅟ: QOpcUaLocalizedText#
Name describing the application.
- Access functions:
- property applicationTypeᅟ: QOpcUaApplicationDescription.ApplicationType#
The application’s type: server, client, both, or discovery server.
- Access functions:
- property applicationUriᅟ: str#
The globally unique identifier for this application instance.
- Access functions:
- property discoveryProfileUriᅟ: str#
The URI of the supported discovery profile.
- Access functions:
- property discoveryUrlsᅟ: list of QString#
A list of URLs of discovery endpoints.
- Access functions:
- property gatewayServerUriᅟ: str#
The URI of the gateway server.
- Access functions:
- property productUriᅟ: str#
The globally unique identifier for this product.
- Access functions:
- __init__(arg__1)#
- Parameters:
arg__1 –
QOpcUaApplicationDescription
Constructs an application description from
other
.- __init__()
Default constructs an application description with no parameters set.
- applicationName()#
- Return type:
Returns a name describing the application.
See also
Getter of property
applicationNameᅟ
.- applicationType()#
- Return type:
Returns the application’s type (server, client, both, discovery server).
See also
Getter of property
applicationTypeᅟ
.- applicationUri()#
- Return type:
str
Returns the globally unique identifier for this application instance.
See also
Getter of property
applicationUriᅟ
.- discoveryProfileUri()#
- Return type:
str
Returns the URI of the supported discovery profile.
See also
Getter of property
discoveryProfileUriᅟ
.- discoveryUrls()#
- Return type:
.list of QString
Returns a list of URLs of discovery endpoints.
See also
Getter of property
discoveryUrlsᅟ
.- discoveryUrlsRef()#
- Return type:
.list of QString
Returns a reference to a list of URLs of discovery endpoints.
- gatewayServerUri()#
- Return type:
str
Returns the URI of the gateway server.
See also
Getter of property
gatewayServerUriᅟ
.- __eq__(arg__1)#
- Parameters:
arg__1 –
QOpcUaApplicationDescription
- Return type:
bool
Returns
true
if this application description has the same value asrhs
.- productUri()#
- Return type:
str
Returns the globally unique identifier for this product.
See also
Getter of property
productUriᅟ
.- setApplicationName(applicationName)#
- Parameters:
applicationName –
QOpcUaLocalizedText
Sets the application name to
applicationName
.See also
- setApplicationType(applicationType)#
- Parameters:
applicationType –
ApplicationType
Sets the application type to
applicationType
.See also
- setApplicationUri(applicationUri)#
- Parameters:
applicationUri – str
Sets the globally unique identifier for this application instance to
applicationUri
.See also
- setDiscoveryProfileUri(discoveryProfileUri)#
- Parameters:
discoveryProfileUri – str
Sets the discovery profile URI to
discoveryProfileUri
.See also
- setDiscoveryUrls(discoveryUrls)#
- Parameters:
discoveryUrls – .list of QString
Sets the discovery URLs to
discoveryUrls
.See also
- setGatewayServerUri(gatewayServerUri)#
- Parameters:
gatewayServerUri – str
Sets the URI of the gateway server to
gatewayServerUri
.See also
- setProductUri(productUri)#
- Parameters:
productUri – str
Sets the globally unique identifier for this product to
productUri
.See also