class QOpcUaApplicationDescription#

The OPC UA ApplicationDescription . More

Synopsis#

Properties#

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#

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__1QOpcUaApplicationDescription

Constructs an application description from other.

__init__()

Default constructs an application description with no parameters set.

applicationName()#
Return type:

QOpcUaLocalizedText

Returns a name describing the application.

Getter of property applicationNameᅟ .

applicationType()#
Return type:

ApplicationType

Returns the application’s type (server, client, both, discovery server).

Getter of property applicationTypeᅟ .

applicationUri()#
Return type:

str

Returns the globally unique identifier for this application instance.

Getter of property applicationUriᅟ .

discoveryProfileUri()#
Return type:

str

Returns the URI of the supported discovery profile.

Getter of property discoveryProfileUriᅟ .

discoveryUrls()#
Return type:

.list of QString

Returns a list of URLs of discovery endpoints.

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.

Getter of property gatewayServerUriᅟ .

__eq__(arg__1)#
Parameters:

arg__1QOpcUaApplicationDescription

Return type:

bool

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

productUri()#
Return type:

str

Returns the globally unique identifier for this product.

See also

setProductUri()

Getter of property productUriᅟ .

setApplicationName(applicationName)#
Parameters:

applicationNameQOpcUaLocalizedText

Sets the application name to applicationName.

setApplicationType(applicationType)#
Parameters:

applicationTypeApplicationType

Sets the application type to applicationType.

setApplicationUri(applicationUri)#
Parameters:

applicationUri – str

Sets the globally unique identifier for this application instance to applicationUri.

See also

applicationUri()

setDiscoveryProfileUri(discoveryProfileUri)#
Parameters:

discoveryProfileUri – str

Sets the discovery profile URI to discoveryProfileUri.

setDiscoveryUrls(discoveryUrls)#
Parameters:

discoveryUrls – .list of QString

Sets the discovery URLs to discoveryUrls.

See also

discoveryUrls()

setGatewayServerUri(gatewayServerUri)#
Parameters:

gatewayServerUri – str

Sets the URI of the gateway server to gatewayServerUri.

setProductUri(productUri)#
Parameters:

productUri – str

Sets the globally unique identifier for this product to productUri.

See also

productUri()