Basic server configuration class using the XML file format for internal use in the class OpcServer.
More...
Public Member Functions |
| ServerConfigBasicXml (const UaString &sXmlFileName, const UaString &sApplicationPath, OpcServerCallback *pOpcServerCallback) |
| construction
|
UaStatus | startUp (ServerManager *) |
| Start up OPC ServerConfig.
|
UaStatus | shutDown () |
| Shut down OPC ServerConfig.
|
Session * | createSession (OpcUa_Int32 sessionID, const UaNodeId &authenticationToken) |
| Creates a session object for the OPC server.
|
UaStatus | logonSessionUser (Session *pSession, UaUserIdentityToken *pUserIdentityToken) |
| Validates the user identity token and sets the user for a session.
|
| ServerConfigXml (const UaString &sXmlFileName, const UaString &sApplicationPath) |
| construction
|
virtual | ~ServerConfigXml () |
| destruction
|
UaStatus | loadConfiguration () |
| Load the configuration from the config file and generate node managers.
|
UaStatus | saveConfiguration () |
| Save the configuration to the config file.
|
| ServerConfigData (const UaString &sApplicationPath) |
| construction
|
virtual | ~ServerConfigData () |
| destruction
|
void | clear () |
| Clears all members and intializes them with default values.
|
virtual UaStatus | getEndpointConfiguration (UaString &sRejectedCertificateDirectory, UaEndpointArray &uaEndpointArray) |
| Get Endpoint Configuration.
|
virtual UaStatus | getUserIdentityTokenConfig (OpcUa_Boolean &bEnableAnonymous, OpcUa_Boolean &bEnableUserPw) |
| Get the enabled settings for the different user identity tokens supported by the server.
|
virtual UaStatus | getDiscoveryRegistrationConfig (OpcUa_UInt32 &nRegistrationInterval, UaStringArray &discoveryUrlArray) |
| Get settings for registration with discovery service.
|
virtual UaStatus | getWindowsDiscoveryRegistrationSecuritySetup (OpcUa_Boolean &bAutomaticCertificateExchange, UaString &sDiscoveryServerCertificateFile, UaString &sDiscoveryServerStoreName, UaString &sDiscoveryServerCertificateName) |
| Get settings for exchanging certificates with local discovery server on a windows computer for registration with local windows discovery server.
|
virtual UaStatus | getSerializerConfiguration (OpcUa_Int32 &iMaxAlloc, OpcUa_Int32 &iMaxStringLength, OpcUa_Int32 &iMaxByteStringLength, OpcUa_Int32 &iMaxArrayLength, OpcUa_Int32 &iMaxMessageSize) const |
| Get Serializer Configuration.
|
virtual UaStatus | getStackThreadPoolSettings (OpcUa_Boolean &bEnabled, OpcUa_Int32 &iMinThreads, OpcUa_Int32 &iMaxThreads, OpcUa_Int32 &iMaxJobs, OpcUa_Boolean &bBlockOnAdd, OpcUa_UInt32 &nTimeout) const |
| Returns the settings for the thread pool used in the OPC UA Stack.
|
virtual UaStatus | getStackTraceSettings (OpcUa_Boolean &bTraceEnabled, OpcUa_UInt32 &uTraceLevel) const |
| Get UA Stack trace settings.
|
virtual UaStatus | getServerTraceSettings (OpcUa_Boolean &bTraceEnabled, OpcUa_UInt32 &uTraceLevel, OpcUa_UInt32 &uMaxTraceEntries, OpcUa_UInt32 &uMaxBackupFiles, UaString &sTraceFile) const |
| Get UA Server SDK trace settings.
|
virtual OpcUa_Int32 | getMaxRequestAge () const |
| Returns the maximum age of a request the server allows.
|
virtual UaStatus | getSessionSettings (OpcUa_Int32 &iMaxSessionCount, OpcUa_Int32 &iMinSessionTimeout, OpcUa_Int32 &iMaxSessionTimeout) const |
| Get the setting parameters for session creation.
|
virtual UaStatus | getServerSettings (OpcUa_Double &minSupportedSampleRate, UaStringArray &localeIdArray, UaStringArray &serverProfileArray, UaByteStringArray &softwareCertificateArray) const |
| Get the general setting parameters for the server.
|
virtual OpcUa_Int32 | getMaxBrowseContinuationPoints () const |
| Returns the maximum number of Browse Continuation Points managed by the server.
|
virtual OpcUa_Int32 | getMaxHistoryContinuationPoints () const |
| Returns the maximum number of History Continuation Points managed by the server.
|
virtual UaStatus | getSubscriptionSettings (OpcUa_UInt32 &iMinPublishingInterval, OpcUa_UInt32 &iMaxPublishingInterval, OpcUa_UInt32 &iMinKeepAliveInterval, OpcUa_UInt32 &iMinSubscriptionLifetime, OpcUa_UInt32 &iMaxSubscriptionLifetime, OpcUa_UInt32 &iMaxRetransmitionQueueSize, OpcUa_UInt32 &iMaxNotificationsPerPublish) const |
| Get the setting parameters for a subscription.
|
virtual UaStatus | getMonitoredItemSettings (OpcUa_UInt32 &iMaxDataQueueSize, OpcUa_UInt32 &iMaxEventQueueSize) const |
| Get the setting parameters for a MonitoreItem.
|
virtual UaStatus | getSubscriptionMaxCountSettings (OpcUa_UInt32 &iMaxSubscriptionCount, OpcUa_UInt32 &iMaxMonitoredItemCount, OpcUa_UInt32 &iMaxMonitoredItemPerSubscriptionCount) const |
| Get the max object count parameters for Subscriptions.
|
virtual UaStatus | getAvailableSamplingRates (UaUInt32Array &availableSamplingRates) const |
| Returns the sampling rates provided by the OPC server.
|
virtual OpcUa_StatusCode | getBuildInfo (UaString &ApplicationUri, UaString &ManufacturerName, UaString &ApplicationName, UaString &sSoftwareVersion, UaString &sBuildNumber, OpcUa_DateTime &BuildDate) const |
| Returns the BuildInfo for the server.
|
virtual OpcUa_StatusCode | getServerInstanceInfo (UaString &ServerUri, UaLocalizedTextArray &ServerName) const |
| Returns the server instance information for the OPC server.
|
virtual UaStatus | getThreadPoolSettings (OpcUa_UInt32 &minSizeTransactionManager, OpcUa_UInt32 &maxSizeTransactionManager, OpcUa_UInt32 &minSizeSubscriptionManager, OpcUa_UInt32 &maxSizeSubscriptionManager) const |
| Returns the settings for the thread pools used in the OPC server.
|
virtual OpcUa_Boolean | isAuditActivated () |
| Flag indicating if audit events are activated.
|
virtual UaStatus | getRedundancySettings (OpcUa_RedundancySupport &redundancySupport, UaStringArray &serverUriArray) |
| Provides the redundancy settings for the server.
|
virtual UaStatus | getAdditionalServerEntries (UaApplicationDescriptions &serverDescriptions) |
| Provides capability to configure additional servers to be returned in FindServers.
|
| ServerConfig () |
| construction.
|
virtual | ~ServerConfig () |
| destruction
|
Basic server configuration class using the XML file format for internal use in the class OpcServer.