OPC UA EndpointDescription . 更多...
| 頭: | #include <QOpcUaEndpointDescription> |
| qmake: | QT += opcua |
| enum | MessageSecurityMode { Invalid, None, Sign, SignAndEncrypt } |
|
|
| QOpcUaEndpointDescription (const QOpcUaEndpointDescription & rhs ) | |
| QOpcUaEndpointDescription & | operator= (const QOpcUaEndpointDescription & rhs ) |
| QString | endpointUrl () const |
| quint8 | securityLevel () const |
| QOpcUaEndpointDescription::MessageSecurityMode | securityMode () const |
| QString | securityPolicy () const |
| QOpcUaApplicationDescription | server () const |
| QByteArray | serverCertificate () const |
| QOpcUaApplicationDescription & | serverRef () |
| void | setEndpointUrl (const QString & endpointUrl ) |
| void | setSecurityLevel (quint8 securityLevel ) |
| void | setSecurityMode (QOpcUaEndpointDescription::MessageSecurityMode securityMode ) |
| void | setSecurityPolicy (const QString & securityPolicy ) |
| void | setServer (const QOpcUaApplicationDescription & server ) |
| void | setServerCertificate (const QByteArray & serverCertificate ) |
| void | setTransportProfileUri (const QString & transportProfileUri ) |
| void | setUserIdentityTokens (const QVector<QOpcUaUserTokenPolicy> & userIdentityTokens ) |
| QString | transportProfileUri () const |
| QVector<QOpcUaUserTokenPolicy> | userIdentityTokens () const |
| QVector<QOpcUaUserTokenPolicy> & | userIdentityTokensRef () |
| bool | operator== (const QOpcUaEndpointDescription & rhs ) const |
端點描述包含端點和如何連接到它的有關信息。
This enum type holds the security mode supported by the endpoint.
| 常量 | 值 | 描述 |
|---|---|---|
QOpcUaEndpointDescription::Invalid
|
0
|
The default value, will be rejected by the server. |
QOpcUaEndpointDescription::None
|
1
|
不安全。 |
QOpcUaEndpointDescription::Sign
|
2
|
Messages are signed but not encrypted. |
QOpcUaEndpointDescription::SignAndEncrypt
|
3
|
Messages are signed and encrypted. |
The URL for the endpoint.
訪問函數:
| QString | endpointUrl () const |
Security mode supported by this endpoint.
訪問函數:
| QOpcUaEndpointDescription::MessageSecurityMode | securityMode () const |
The URI of the security policy.
訪問函數:
| QString | securityPolicy () const |
The application description of the server.
訪問函數:
| QOpcUaApplicationDescription | server () const |
List of user identity tokens the endpoint will accept.
訪問函數:
| QVector<QOpcUaUserTokenPolicy> | userIdentityTokens () const |
Constructs an endpoint description from rhs .
設置值從 rhs in this endpoint description.
Returns the URL for the endpoint.
注意: Getter function for property endpointUrl.
另請參閱 setEndpointUrl ().
Returns a relative index assigned by the server. It describes how secure this endpoint is compared to other endpoints of the same server. An endpoint with strong security measures has a higher security level than one with weaker or no security measures.
Security level 0 indicates an endpoint for backward compatibility purposes which should only be used if the client does not support the security measures required by more secure endpoints.
另請參閱 setSecurityLevel ().
Returns the security mode supported by this endpoint.
注意: Getter function for property securityMode.
另請參閱 setSecurityMode ().
Returns the URI of the security policy.
注意: Getter function for property securityPolicy.
另請參閱 setSecurityPolicy ().
Returns the application description of the server.
注意: Getter function for property server.
另請參閱 setServer ().
Returns the application instance certificate of the server.
另請參閱 setServerCertificate ().
Returns a reference to the application description of the server.
Sets the URL for the endpoint to endpointUrl .
另請參閱 endpointUrl ().
Sets the security level to securityLevel .
另請參閱 securityLevel ().
Sets the security mode supported by this endpoint to securityMode .
另請參閱 securityMode ().
Sets the URI of the security policy to securityPolicy .
另請參閱 securityPolicy ().
Sets the application description of the server to server .
另請參閱 server ().
Sets the application instance certificate of the server to serverCertificate .
另請參閱 serverCertificate ().
Sets the URI of the transport profile supported by the endpoint to transportProfileUri .
另請參閱 transportProfileUri ().
Sets the user identity tokens to userIdentityTokens .
另請參閱 userIdentityTokens ().
Returns the URI of the transport profile supported by the endpoint.
另請參閱 setTransportProfileUri ().
Returns a list of user identity tokens the endpoint will accept.
注意: Getter function for property userIdentityTokens.
另請參閱 setUserIdentityTokens ().
Returns a reference to a list of user identity tokens the endpoint will accept.
返迴
true
if this endpoint description has the same value as
rhs
.