.NET Based OPC UA Client/Server SDK  3.1.0.500
UnifiedAutomation.UaBase.ConfigurationInMemory Class Reference

Configuration class that holds all fields in-memory More...

Inherits UnifiedAutomation.UaSchema.IConfiguration.

Public Member Functions

Get< T > (bool silent=false, XmlQualifiedName name=null)
 Gets a caller defined extension. More...
 
void Set< T > (T value, XmlQualifiedName name=null)
 Sets a caller defined extension. More...
 
void Save ()
 Tries to save. Throws exception. More...
 
void SetSecurity (string commonStorePath, string certificateSubjectName)
 Sets the paths for the More...
 

Properties

CertificateIdentifier ApplicationCertificate [get, set]
 Gets or sets the ApplicationCertificate data. More...
 
string ApplicationName [get, set]
 Gets or sets the ApplicationName More...
 
UaSchema.ApplicationType ApplicationType [get, set]
 Gets or sets the ApplicationType More...
 
string ApplicationUri [get, set]
 Gets or sets the ApplicationUri More...
 
ListOfBaseAddresses BaseAddresses [get, set]
 Gets or sets the base address. More...
 
CertificateCheckSettings CertificateCheckSettings [get, set]
 Gets or sets the CertificateCheckSettings. More...
 
ClientSettings ClientSettings [get, set]
 Gets or sets the ClientSettings. More...
 
string ConfigurationFile [get, set]
 Gets or sets the ConfigurationFile. More...
 
string ConfigurationMode [get, set]
 Gets or sets the ConfigurationMode. More...
 
EndpointSettings EndpointSettings [get, set]
 Gets or sets the EndpointSettings. More...
 
string ExecutableFile [get, set]
 Gets or sets the ExecutableFile More...
 
InstallationSettings InstallationSettings [get, set]
 Gets or sets the InstallationSettings More...
 
SessionSettings SessionSettings [get, set]
 Gets the SessionSettings More...
 
SubscriptionSettings SubscriptionSettings [get, set]
 Gets the SubscriptionSettings More...
 
CertificateList IssuerCertificates [get, set]
 Gets or sets the IssuerCertificates More...
 
CertificateStoreIdentifier IssuerCertificateStore [get, set]
 Gets or sets the IssuerCertificateStore. More...
 
DateTime LastExportTime [get, set]
 Gets or sets the LastExportTime. More...
 
string ProductName [get, set]
 Gets or sets the ProductName More...
 
CertificateStoreIdentifier RejectedCertificatesStore [get, set]
 Gets or sets the RejectedCertificatesStore More...
 
ListOfSecurityProfiles SecurityProfiles [get, set]
 Gets or sets the SecurityProfiles. More...
 
ServerSettings ServerSettings [get, set]
 Gets or sets the ServerSettings More...
 
ThreadPoolSettings ThreadPoolSettings [get, set]
 Gets or sets the ThreadPoolSettings. More...
 
TraceSettings TraceSettings [get, set]
 Gets or sets the TraceSettings. More...
 
TransportSettings TransportSettings [get, set]
 Gets or sets the TransportSettings. More...
 
CertificateList TrustedCertificates [get, set]
 Gets or sets the TrustedCertificates. More...
 
CertificateStoreIdentifier TrustedCertificateStore [get, set]
 Gets or sets the TrustedCertificateStore. More...
 
- Properties inherited from UnifiedAutomation.UaSchema.IConfiguration
string ApplicationName [get, set]
 Gets or sets the ApplicationName. More...
 
string ApplicationUri [get, set]
 Gets or sets the ApplicationUri More...
 
UnifiedAutomation.UaSchema.ApplicationType ApplicationType [get, set]
 Gets or sets the ApplicationType More...
 
string ProductName [get, set]
 Gets or sets the ProductName More...
 
string ConfigurationMode [get]
 Gets or sets the ConfigurationMode More...
 
DateTime LastExportTime [get]
 Gets the LastExportTime More...
 
string ConfigurationFile [get]
 Gets the ConfigurationFile More...
 
string ExecutableFile [get, set]
 Gets or sets the ExecutableFile More...
 
CertificateIdentifier ApplicationCertificate [get, set]
 Gets or sets the ApplicationCertificate More...
 
CertificateStoreIdentifier TrustedCertificateStore [get, set]
 Gets or sets the TrustedCertificateStore More...
 
CertificateList TrustedCertificates [get]
 Gets the TrustedCertificates More...
 
CertificateStoreIdentifier IssuerCertificateStore [get, set]
 Gets or sets the IssuerCertificateStore More...
 
CertificateList IssuerCertificates [get]
 Gets the IssuerCertificates More...
 
CertificateStoreIdentifier RejectedCertificatesStore [get, set]
 Gets or sets the RejectedCertificatesStore More...
 
ListOfBaseAddresses BaseAddresses [get, set]
 Gets or sets the BaseAddresses More...
 
ListOfSecurityProfiles SecurityProfiles [get, set]
 Gets or sets the SecurityProfiles More...
 
ClientSettings ClientSettings [get]
 Gets the ClientSettings More...
 
ServerSettings ServerSettings [get]
 Gets the ServerSettings More...
 
ThreadPoolSettings ThreadPoolSettings [get]
 Gets the ThreadPoolSettings More...
 
EndpointSettings EndpointSettings [get, set]
 Gets or sets the EndpointSettings More...
 
TraceSettings TraceSettings [get, set]
 Gets or sets the EndpointSettings More...
 
TransportSettings TransportSettings [get]
 Gets the TransportSettings More...
 
CertificateCheckSettings CertificateCheckSettings [get]
 Gets the CertificateCheckSettings More...
 
InstallationSettings InstallationSettings [get]
 Gets the InstallationSettings More...
 
SessionSettings SessionSettings [get]
 Gets the SessionSettings More...
 
SubscriptionSettings SubscriptionSettings [get]
 Gets the SubscriptionSettings More...
 

Detailed Description

Configuration class that holds all fields in-memory

Member Function Documentation

T UnifiedAutomation.UaBase.ConfigurationInMemory.Get< T > ( bool  silent = false,
XmlQualifiedName  name = null 
)
inline

Gets a caller defined extension.

Template Parameters
TA class containing the settings to load.
Parameters
silentTRUE if null is returned on error; FALSE if exceptions should be thrown.
nameThe name of the extension. If NULL the name of the class is used.
Returns
The extension. NULL if an error occurred.

Implements UnifiedAutomation.UaSchema.IConfiguration.

Type Constraints
T :class 
T :new() 
void UnifiedAutomation.UaBase.ConfigurationInMemory.Save ( )
inline

Tries to save. Throws exception.

Exceptions
StatusExceptionBadConfiguratioError

Implements UnifiedAutomation.UaSchema.IConfiguration.

void UnifiedAutomation.UaBase.ConfigurationInMemory.Set< T > ( value,
XmlQualifiedName  name = null 
)
inline

Sets a caller defined extension.

Template Parameters
TA class containing the settings to save.
Parameters
valueThe settings to save.
nameThe name of the extension. If NULL the name of the class is used.
Returns
The extension. NULL if an error occurred.

Implements UnifiedAutomation.UaSchema.IConfiguration.

Type Constraints
T :class 
void UnifiedAutomation.UaBase.ConfigurationInMemory.SetSecurity ( string  commonStorePath,
string  certificateSubjectName 
)
inline

Sets the paths for the

  • ApplicationCertificate
  • TrustedCertificateStore
  • IssuerCertificateStore
  • RejectedCertificatesStore
Parameters
commonStorePathThe paths are created relative to the commonStorePath.
certificateSubjectNameThe SubjectName of the application instance certificate.

The SubjectName is used to find the certificate of the application. E.g. "CN=GettingStartedServer/O=UnifiedAutomation/DC=localhost"

Property Documentation

CertificateIdentifier UnifiedAutomation.UaBase.ConfigurationInMemory.ApplicationCertificate
getset

Gets or sets the ApplicationCertificate data.

string UnifiedAutomation.UaBase.ConfigurationInMemory.ApplicationName
getset

Gets or sets the ApplicationName

UaSchema.ApplicationType UnifiedAutomation.UaBase.ConfigurationInMemory.ApplicationType
getset

Gets or sets the ApplicationType

string UnifiedAutomation.UaBase.ConfigurationInMemory.ApplicationUri
getset

Gets or sets the ApplicationUri

ListOfBaseAddresses UnifiedAutomation.UaBase.ConfigurationInMemory.BaseAddresses
getset

Gets or sets the base address.

This property is only evaluated for server applications. The schema of each base address defines the kind of the endpoint to open. E.g. opc.tcp correlates to an OPC UA binary endoint.

CertificateCheckSettings UnifiedAutomation.UaBase.ConfigurationInMemory.CertificateCheckSettings
getset

Gets or sets the CertificateCheckSettings.

ClientSettings UnifiedAutomation.UaBase.ConfigurationInMemory.ClientSettings
getset

Gets or sets the ClientSettings.

string UnifiedAutomation.UaBase.ConfigurationInMemory.ConfigurationFile
getset

Gets or sets the ConfigurationFile.

string UnifiedAutomation.UaBase.ConfigurationInMemory.ConfigurationMode
getset

Gets or sets the ConfigurationMode.

EndpointSettings UnifiedAutomation.UaBase.ConfigurationInMemory.EndpointSettings
getset

Gets or sets the EndpointSettings.

You can do some spcial configuration per endpoint using this property.

string UnifiedAutomation.UaBase.ConfigurationInMemory.ExecutableFile
getset

Gets or sets the ExecutableFile

InstallationSettings UnifiedAutomation.UaBase.ConfigurationInMemory.InstallationSettings
getset

Gets or sets the InstallationSettings

This setting is not evaluated UaBase.ApplicationInstanceBase but in UaBase.Windows.ApplicationSettingsEx.

CertificateList UnifiedAutomation.UaBase.ConfigurationInMemory.IssuerCertificates
getset

Gets or sets the IssuerCertificates

CertificateStoreIdentifier UnifiedAutomation.UaBase.ConfigurationInMemory.IssuerCertificateStore
getset

Gets or sets the IssuerCertificateStore.

DateTime UnifiedAutomation.UaBase.ConfigurationInMemory.LastExportTime
getset

Gets or sets the LastExportTime.

string UnifiedAutomation.UaBase.ConfigurationInMemory.ProductName
getset

Gets or sets the ProductName

CertificateStoreIdentifier UnifiedAutomation.UaBase.ConfigurationInMemory.RejectedCertificatesStore
getset

Gets or sets the RejectedCertificatesStore

ListOfSecurityProfiles UnifiedAutomation.UaBase.ConfigurationInMemory.SecurityProfiles
getset

Gets or sets the SecurityProfiles.

ServerSettings UnifiedAutomation.UaBase.ConfigurationInMemory.ServerSettings
getset

Gets or sets the ServerSettings

SessionSettings UnifiedAutomation.UaBase.ConfigurationInMemory.SessionSettings
getset

Gets the SessionSettings

SubscriptionSettings UnifiedAutomation.UaBase.ConfigurationInMemory.SubscriptionSettings
getset

Gets the SubscriptionSettings

ThreadPoolSettings UnifiedAutomation.UaBase.ConfigurationInMemory.ThreadPoolSettings
getset

Gets or sets the ThreadPoolSettings.

TraceSettings UnifiedAutomation.UaBase.ConfigurationInMemory.TraceSettings
getset

Gets or sets the TraceSettings.

TransportSettings UnifiedAutomation.UaBase.ConfigurationInMemory.TransportSettings
getset

Gets or sets the TransportSettings.

CertificateList UnifiedAutomation.UaBase.ConfigurationInMemory.TrustedCertificates
getset

Gets or sets the TrustedCertificates.

CertificateStoreIdentifier UnifiedAutomation.UaBase.ConfigurationInMemory.TrustedCertificateStore
getset

Gets or sets the TrustedCertificateStore.


The documentation for this class was generated from the following file: