#include <uaclientsdk.h>
Public Member Functions | |
SessionConnectInfo () | |
~SessionConnectInfo () | |
Public Attributes | |
UaString | sApplicationUri |
The Client Application Uri. | |
UaString | sApplicationName |
The Client Application Name. | |
UaString | sProductUri |
The Client Product Uri. | |
UaString | sSessionName |
The Session Name. This name should be unique for the instance of the client. | |
OpcUa_ApplicationType | applicationType |
The Client Application Type. OpcUa_ApplicationType_Client OpcUa_ApplicationType_ClientAndServer. | |
OpcUa_UInt32 | clientConnectionId |
The client defined connection Id. The connection Id is returned in all session callbacks to distinguish between callbacks for different connetions if the same callback interface is used for more than one connectiosn. Can be 0 if not needed. | |
OpcUa_Double | nSessionTimeout |
The timeout for the application session in milliseconds. The client library ensures that the session does not time out as long as the client application does not call diconnect. The session can timeout if the network connection is broken for longer than the defined session timeout. A long timeout ensures that the established application session can be reused after the longer network interuption. Default value is 20 minutes. This timeout has no affect for the individual timeout for a service call (can be defined per call). This timeout is only used to ensure that the server is able to release resources if a client is disconnected for a long time. | |
UaString | sLocaleId |
The locale ID uses for the session. "en" for English "en-US" for English (US) "de" for German "de-DE" for German (Germany) "de-AT" for German (Austria) | |
OpcUa_UInt32 | nSecureChannelLifetime |
The lifetime of the SecureChannel in milliseconds before it gets renewed. This is the time the key pair exchanged during secure channel establishment are valid. The stack starts after 75% of the lifetime the renew process that exchanges new key pairs. The default lifetime is one hour. | |
OpcUa_UInt32 | nConnectTimeout |
The timeout for the connect call in milliseconds. | |
OpcUa_UInt32 | nWatchdogTime |
The time between watchdog checks in milliseconds. | |
OpcUa_Boolean | bAutomaticReconnect |
A flag indicating if the client SDK should try to reconnect in the case of a connection error. | |
OpcUa_Boolean | bRetryInitialConnect |
A flag indicating if the client SDK should continue to try a connect establishment in the background if the initial connect fails. | |
UaString | sServerUri |
The Server Uri of the server to connect thru a gateway server. This value is only specified if the EndpointDescription has a gatewayServerUri. This value is the applicationUri from the EndpointDescription which is the applicationUri for the underlying Server. | |
UaEndpointDescriptions | endpointDescriptions |
The endpoint descriptions returned from the server during session creation. The list must be verified with the list returned during discovery at the first connect to make sure the discovery server provided the right list and the client was able to choose the most secure setting. | |
OpcUa_UInt32 | nWatchdogTimeout |
The timeout for watchdog calls in milliseconds. After one unsuccessful call the timeout will be two times this value for the next call. |
The SessionConnectInfo class contains the session settings for connect.
UaClientSdk::SessionConnectInfo::SessionConnectInfo | ( | ) | [inline] |
Constructor
UaClientSdk::SessionConnectInfo::~SessionConnectInfo | ( | ) | [inline] |
Destructor