.NET Based OPC UA Client/Server SDK
3.0.2.450
|
An implementation of a server. More...
Inherits UnifiedAutomation.UaBase.SessionServerBase, UnifiedAutomation.UaServer.IServerMethods, UnifiedAutomation.UaServer.IServerConfigurationMethods, and UnifiedAutomation.UaServer.Model.ITraceObjectMethods.
Public Member Functions | |
virtual StatusCode | Configure (RequestContext context, Model.TraceObjectModel model, string traceFilePath, uint maxEntriesPerLog, byte maxLogFileBackups, bool fastTrace) |
Called to change the trace configuration for the server. More... | |
virtual StatusCode | SetTraceLevel (RequestContext context, Model.TraceObjectModel model, bool masterTraceEnabled, Model.TraceLevel defaultTraceLevel) |
Called to enable or disable tracing for the server. More... | |
virtual void | Stop (uint secondsTillShutdown, LocalizedText shutdownReason, bool restart) |
Stops the server. More... | |
override void | Start (ApplicationInstanceBase application) |
Starts the server (called from a dedicated host process). More... | |
override void | Stop () |
Stops the server and releases all resources. More... | |
void | SetGetHistoryEventHandleOverride (GetHistoryEventHandleEventHandler handler) |
Sets a delegate used to override the GetHistoryEventHandle method for the CoreNodeManager. More... | |
DataMonitoringResult | ValidateDataMonitoringRequest (RequestContext context, NodeAttributeHandle nodeHandle, ReadValueId itemToMonitor, MonitoringParameters parameters, NodeMetadata metadata) |
Validates the data monitoring request. More... | |
override ResponseHeader | FindServers (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection serverUris, out ApplicationDescriptionCollection servers) |
Invokes the FindServers service. More... | |
override ResponseHeader | GetEndpoints (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection profileUris, out EndpointDescriptionCollection endpoints) |
Invokes the GetEndpoints service. More... | |
void | SessionExpired (Session session, uint error=StatusCodes.BadTimeout) |
Cleans up an expired session. More... | |
void | EndPublish (RequestContext context, IEndpointIncomingRequest incoming, StatusCode error, object callbackData, bool doNotBlockThread) |
Ends the publish. More... | |
virtual void | BeginQueryFirst (IEndpointIncomingRequest incoming) |
Invokes the QueryFirst service. More... | |
virtual void | BeginQueryNext (IEndpointIncomingRequest incoming) |
Invokes the QueryNext service. More... | |
void | ReportEvent (GenericEvent e) |
Reports the event to the Server notifier. More... | |
void | ReportEvent (NodeId notifierId, GenericEvent e) |
Reports the event. More... | |
StatusCode | GetMonitoredItems (RequestContext context, ServerModel model, uint subscriptionId, out uint[] serverHandles, out uint[] clientHandles) |
Returns the server/client handles for the subscription. More... | |
StatusCode | RequestServerStateChange (RequestContext context, ServerModel model, ServerState state, DateTime estimatedReturnTime, uint secondsTillShutdown, LocalizedText reason, bool restart) |
Requests that the server change state. More... | |
StatusCode | ResendData (RequestContext context, ServerModel model, uint subscriptionId) |
Requests that all cached values be resent for the specified subscription. More... | |
StatusCode | SetSubscriptionDurable (RequestContext context, ServerModel model, uint subscriptionId, uint lifetimeInHours, out uint revisedLifetimeInHours) |
Requests that the subscription be made durable which means all queued values are saved to persistent storage. More... | |
virtual StatusCode | ApplyChanges (RequestContext context, ServerConfigurationModel model) |
Applies any changes to the security settings. More... | |
virtual StatusCode | UpdateCertificate (RequestContext context, ServerConfigurationModel model, NodeId certificateGroupId, NodeId certificateTypeId, byte[] certificate, byte[][] issuerCertificates, string privateKeyFormat, byte[] privateKey, out bool applyChangesRequired) |
Updates the the application certificate. More... | |
virtual StatusCode | CreateSigningRequest (RequestContext context, ServerConfigurationModel model, NodeId certificateGroupId, NodeId certificateTypeId, string subjectName, bool regeneratePrivateKey, byte[] nonce, out byte[] certificateRequest) |
Creates a certificate signing request. More... | |
virtual StatusCode | GetRejectedList (RequestContext context, ServerConfigurationModel model, out byte[][] certificates) |
Gets the list of rejected certificates. More... | |
virtual void | OnTrustListAddCertificate (object sender, CertificateAddedEventArgs e) |
Called when a certificate is added to a trust list. More... | |
virtual void | OnTrustListRemoveCertificate (object sender, RemoveCertificateEventArgs e) |
Called when a certificate is removed from a trust list. More... | |
Public Member Functions inherited from UnifiedAutomation.UaBase.SessionServerBase | |
virtual ResponseHeader | FindServersOnNetwork (RequestHeader requestHeader, uint startingRecordId, uint maxRecordsToReturn, StringCollection serverCapabilityFilter, out DateTime lastCounterResetTime, out ServerOnNetworkCollection servers) |
Invokes the FindServersOnNetwork service. More... | |
virtual ResponseHeader | Browse (RequestHeader requestHeader, ViewDescription view, uint requestedMaxReferencesPerNode, BrowseDescriptionCollection nodesToBrowse, out BrowseResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Browse service. More... | |
virtual ResponseHeader | BrowseNext (RequestHeader requestHeader, bool releaseContinuationPoints, ByteStringCollection continuationPoints, out BrowseResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the BrowseNext service. More... | |
virtual ResponseHeader | TranslateBrowsePathsToNodeIds (RequestHeader requestHeader, BrowsePathCollection browsePaths, out BrowsePathResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the TranslateBrowsePathsToNodeIds service. More... | |
virtual ResponseHeader | QueryFirst (RequestHeader requestHeader, ViewDescription view, NodeTypeDescriptionCollection nodeTypes, ContentFilter filter, uint maxDataSetsToReturn, uint maxReferencesToReturn, out QueryDataSetCollection queryDataSets, out byte[] continuationPoint, out ParsingResultCollection parsingResults, out DiagnosticInfoCollection diagnosticInfos, out ContentFilterResult filterResult) |
Invokes the QueryFirst service. More... | |
virtual ResponseHeader | QueryNext (RequestHeader requestHeader, bool releaseContinuationPoint, byte[] continuationPoint, out QueryDataSetCollection queryDataSets, out byte[] revisedContinuationPoint) |
Invokes the QueryNext service. More... | |
virtual ResponseHeader | Read (RequestHeader requestHeader, double maxAge, TimestampsToReturn timestampsToReturn, ReadValueIdCollection nodesToRead, out DataValueCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Read service. More... | |
virtual ResponseHeader | HistoryRead (RequestHeader requestHeader, ExtensionObject historyReadDetails, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueIdCollection nodesToRead, out HistoryReadResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the HistoryRead service. More... | |
virtual ResponseHeader | Write (RequestHeader requestHeader, WriteValueCollection nodesToWrite, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Write service. More... | |
virtual ResponseHeader | HistoryUpdate (RequestHeader requestHeader, ExtensionObjectCollection historyUpdateDetails, out HistoryUpdateResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the HistoryUpdate service. More... | |
virtual ResponseHeader | Call (RequestHeader requestHeader, CallMethodRequestCollection methodsToCall, out CallMethodResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Call service. More... | |
virtual ResponseHeader | CreateMonitoredItems (RequestHeader requestHeader, uint subscriptionId, TimestampsToReturn timestampsToReturn, MonitoredItemCreateRequestCollection itemsToCreate, out MonitoredItemCreateResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the CreateMonitoredItems service. More... | |
virtual ResponseHeader | ModifyMonitoredItems (RequestHeader requestHeader, uint subscriptionId, TimestampsToReturn timestampsToReturn, MonitoredItemModifyRequestCollection itemsToModify, out MonitoredItemModifyResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the ModifyMonitoredItems service. More... | |
virtual ResponseHeader | SetMonitoringMode (RequestHeader requestHeader, uint subscriptionId, MonitoringMode monitoringMode, UInt32Collection monitoredItemIds, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the SetMonitoringMode service. More... | |
virtual ResponseHeader | DeleteMonitoredItems (RequestHeader requestHeader, uint subscriptionId, UInt32Collection monitoredItemIds, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the DeleteMonitoredItems service. More... | |
virtual ResponseHeader | Publish (RequestHeader requestHeader, SubscriptionAcknowledgementCollection subscriptionAcknowledgements, out uint subscriptionId, out UInt32Collection availableSequenceNumbers, out bool moreNotifications, out NotificationMessage notificationMessage, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Publish service. More... | |
Public Member Functions inherited from UnifiedAutomation.UaBase.ServerBase | |
ServerBase () | |
Initializes object with default values. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
void | ScheduleIncomingRequest (IEndpointIncomingRequest request) |
Schedules an incoming request. More... | |
ApplicationLicense | GetProductLicense () |
Gets the application license. More... | |
void | RunInThreadPool (ThreadPoolEventHandler callback, object request) |
Runs an operation the in server thread pool. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.Model.ITraceObjectMethods | |
StatusCode | SetTraceLevel (RequestContext context, TraceObjectModel model, bool masterTraceEnabled, TraceLevel defaultTraceLevel) |
Sets the trace level for the server. More... | |
StatusCode | Configure (RequestContext context, TraceObjectModel model, string traceFilePath, uint maxEntriesPerLog, byte maxLogFileBackups, bool fastTrace) |
Updates the trace configuration. More... | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
override void | OnServerStarting (ApplicationInstanceBase application) |
Called before the server starts. More... | |
virtual void | RegisterAggregate (NodeId aggregateId, QualifiedName aggregateName, AggregatorFactory factory) |
Registers the aggregate (saves the factory and creates the objects in the addrres space). More... | |
virtual void | OnRegisterAggregates () |
Called to register any aggregates during server initialization. More... | |
override void | OnServerStopping () |
Called before the server stops. More... | |
override void | DispatchRequest (IEndpointIncomingRequest request) |
Processes the request. More... | |
void | OnDispatchRequest (object data, StatusCode statusCode) |
Callback for processesing the request. More... | |
virtual StatusCode | GetQueryHandle (RequestContext context, ViewHandle viewHandle, out QueryHandle handle) |
Creates a query handle for use in query operation. More... | |
IScopeMapper | CreateScopeMapper () |
Creates the ScopeMapper that is used when importing NodeSet XML files containing NodeAccessInfo defined by UnifiedAutomation XML schema. More... | |
virtual void | OnRootNodeManagerStarted (RootNodeManager nodeManager) |
Called when the root node manager starts. More... | |
virtual void | OnSessionManagerStarted (SessionManager sessionManager) |
Called when the session manager starts. More... | |
virtual void | OnSubscriptionManagerStarted (SubscriptionManager subscriptionManager) |
Called when the subscription manager starts. More... | |
virtual RequestContext | ValidateRequest (RequestHeader requestHeader, IEndpointIncomingRequest incoming, ServiceType requestType) |
Verifies that the request header is valid. More... | |
virtual StatusCode | TranslateException (DiagnosticsMasks diagnosticsMasks, IList< string > preferredLocales, Exception e) |
Translates an exception. More... | |
virtual void | OnAsyncRequestComplete (RequestContext context, IEndpointIncomingRequest incoming, bool doNotBlockThread) |
Called when an aysnchrnous request completes. More... | |
virtual void | OnAsyncRequestError (RequestContext context, IEndpointIncomingRequest incoming, bool doNotBlockThread, Exception e) |
Called when an asynchronous request has an error during processing. More... | |
virtual ResponseHeader | OnRequestComplete (RequestContext context) |
Called when the request completes. More... | |
virtual ResponseHeader | OnRequestError (RequestContext context, Exception e) |
Called when an asynchronous request encounters an error. More... | |
virtual StatusCode | ChangeServerState (ServerState state, DateTime estimatedReturnTime) |
Called when the state of the Server has been changed as a result of a client action. More... | |
virtual void | OnTrustListWrite (object sender, WriteTrustListEventArgs e) |
Handles a request to update the application trust lists. More... | |
virtual void | OnTrustListRead (object sender, ReadTrustListEventArgs e) |
Handles a request to read the application trust lists. More... | |
virtual bool | HasAdminAccess (RequestContext context) |
Determines whether the request context has administrator access. More... | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.ServerBase | |
void | InitializeRequestQueue (ApplicationInstanceBase configuration) |
Initializes the request queue. More... | |
virtual void | ProcessRequest (IEndpointIncomingRequest request) |
Processes the request. More... | |
ITransportListener | CreateListener (ApplicationInstanceBase application) |
Creates the UA TCP listener. More... | |
virtual void | ValidateRequest (RequestHeader requestHeader) |
Verifies that the request header is valid. More... | |
virtual ResponseHeader | CreateResponse (RequestHeader requestHeader, uint statusCode) |
Creates the response header. More... | |
virtual void | OnUpdateConfiguration (ApplicationInstanceBase configuration) |
Called when the server configuration is changed on disk. More... | |
virtual List< StatusCode > | InitializeServices (ApplicationInstanceBase application) |
Creates the endpoints and creates the hosts. More... | |
virtual void | StartApplication (ApplicationInstanceBase configuration) |
Starts the server application. More... | |
string | NormalizeHostname (string hostname) |
Checks for IP address or well known hostnames that map to the computer. More... | |
ApplicationDescription | GetApplicationDescription (Uri clientUrl, ApplicationDescription description, LocalizedText applicationName) |
Gets the application description. More... | |
EndpointDescriptionCollection | GetEndpointDescriptions (Uri clientUrl, ApplicationDescription application) |
Gets the endpoint descriptions. More... | |
Properties | |
NamespaceTable | NamespaceUris [get] |
Gets the namespace uris. More... | |
TypeManager | TypeManager [get] |
Gets the type manager. More... | |
FilterManager | FilterManager [get] |
Gets the filter manager. More... | |
IScopeMapper | ScopeMapper [get] |
Gets the ScopeMapper used for importing nodes with a NodeAccessInfo; More... | |
AggregateManager | AggregateManager [get] |
Gets the aggregate manager. More... | |
SubscriptionManager | SubscriptionManager [get] |
Gets the subscription manager. More... | |
bool | IsRunning [get] |
Gets a value indicating whether this instance is running. More... | |
bool | IsRestartInProgress [get] |
Gets a value indicating whether a restart is in progress. More... | |
bool | IsAuditEnabled [get] |
Gets a value indicating whether auditing is enabled More... | |
RequestContext | DefaultRequestContext [get] |
Gets the server context. More... | |
object | DiagnosticsLock [get] |
A lock which must be acquired before accessing the diagnostics. More... | |
ServerDiagnosticsModel | ServerDiagnostics [get] |
The diagnostics associated with the server. More... | |
Dictionary< NodeId, CertificateGroupModel > | CertificateGroups [get] |
The certificate groups supported by the server. More... | |
System.Reflection.Assembly | OpcUaNodeSetAssembly [get, set] |
Gets or sets the assembly which has the Opc.Ua.NodeSet2 file as an embedded resource. More... | |
SessionManager | SessionManager [get] |
Gets the session manager. More... | |
ResourceManager | ResourceManager [get] |
Gets the resource manager. More... | |
RootNodeManager | RootNodeManager [get] |
Gets the root node manager. More... | |
BaseNodeManager | CoreNodeManager [get] |
Gets the core node manager. More... | |
uint | NextUniqueId [get] |
Gets the next unique id. More... | |
ServerInternalClient | InternalClient [get] |
Gets the internal client object. More... | |
Properties inherited from UnifiedAutomation.UaBase.ServerBase | |
ApplicationInstanceBase | Application [get] |
Gets the application. More... | |
MessageContext | MessageContext [get] |
The message context to use with the service. More... | |
ApplicationThreadPool | ThreadPool [get] |
Gets the thread pool used by the server. More... | |
StatusCode | ServerError [get] |
An error condition that describes why the server if not running (null if no error exists). More... | |
ISecurityProvider | SecurityProvider [get] |
Gets the security provider. More... | |
IEnumerable< ITransportListener > | TransportListeners [get] |
Gets the list of transport listeners used by the server instance. More... | |
Properties inherited from UnifiedAutomation.UaBase.IServerBase | |
ApplicationInstanceBase | Application [get] |
Gets the application. More... | |
MessageContext | MessageContext [get] |
The message context to use with the service. More... | |
StatusCode | ServerError [get] |
An error condition that describes why the server if not running (null if no error exists). More... | |
Events | |
EventHandler | ServerStopped |
Occurs when the server is stopped. More... | |
EventHandler | ServerStarted |
Occurs when the server is started. More... | |
An implementation of a server.
|
inlinevirtual |
Applies any changes to the security settings.
context | The context for the request. |
model | The object which owns the method being called. |
Implements UnifiedAutomation.UaServer.IServerConfigurationMethods.
|
inlinevirtual |
Invokes the QueryFirst service.
|
inlinevirtual |
Invokes the QueryNext service.
|
inlineprotectedvirtual |
Called when the state of the Server has been changed as a result of a client action.
state | The new state. |
estimatedReturnTime | When the Server should return to the Running state. |
This method can be overridden to allow for custom application logic that applies the state change. The default behavoir simply updates the appropriate variables in the Server address space.
|
inlinevirtual |
Called to change the trace configuration for the server.
|
inlineprotected |
Creates the ScopeMapper that is used when importing NodeSet XML files containing NodeAccessInfo defined by UnifiedAutomation XML schema.
|
inlinevirtual |
Creates a certificate signing request.
context | The context for the request. |
model | The object which owns the method being called. |
certificateGroupId | The certificate group which owns the certificate being updated. |
certificateTypeId | Type of the certificate within the group. |
subjectName | The subject name to put in the certficate.. |
regeneratePrivateKey | if set to true a new private key should be generated first. |
nonce | The nonce that can be used when generating a private key. |
certificateRequest | The certificate request. |
Implements UnifiedAutomation.UaServer.IServerConfigurationMethods.
|
inlineprotectedvirtual |
Processes the request.
request | The request. |
Reimplemented from UnifiedAutomation.UaBase.ServerBase.
|
inlineprotectedvirtual |
An overrideable version of the Dispose.
disposing |
Reimplemented from UnifiedAutomation.UaBase.ServerBase.
|
inline |
Ends the publish.
context | The request context. |
incoming | The incoming. |
error | The error. |
callbackData | The callback data. |
doNotBlockThread | if set to true then the current thread should not be blocked. |
|
inlinevirtual |
Invokes the FindServers service.
requestHeader | The common request parameters. The authenticationToken is always omitted. The authenticationToken shall be ignored if it is provided. |
endpointUrl | The network address that the Client used to access the Discovery Endpoint. The Server uses this information for diagnostics and to determine what URLs to return in the response. The Server should return a suitable default URL if it does not recognize the HostName in the URL. |
localeIds | List of locales to use. The server should return the ServerName using one of locales specified. If the server supports more than one of the requested locales then the server shall use the locale that appears first in this list. If the server does not support any of the requested locales it chooses an appropriate default locale. The server chooses an appropriate default locale if this list is empty. |
serverUris | List of servers to return. All known servers are returned if the list is empty. |
servers | List of Servers that meet criteria specified in the request. This list is empty if no servers meet the criteria. |
Reimplemented from UnifiedAutomation.UaBase.SessionServerBase.
|
inlinevirtual |
Invokes the GetEndpoints service.
requestHeader | The common request parameters. The authenticationToken is always omitted. The authenticationToken shall be ignored if it is provided. |
endpointUrl | The network address that the Client used to access the Discovery Endpoint. The Server uses this information for diagnostics and to determine what URLs to return in the response. The Server should return a suitable default URL, if it does not recognize the HostName in the URL. |
localeIds | List of locales to use. Specifies the locale to use when returning human readable strings. |
profileUris | List of Transport Profile that the returned Endpoints shall support. All Endpoints are returned if the list is empty. |
endpoints | The endpoints.List of Endpoints that meet criteria specified in the request. This list is empty if no Endpoints meet the criteria. |
Reimplemented from UnifiedAutomation.UaBase.SessionServerBase.
|
inline |
Returns the server/client handles for the subscription.
context | THe context used to invoke the method. |
model | The object which the method is being called on. |
subscriptionId | The identifier for the subscription. |
serverHandles | The server handles for all items in the subscription. |
clientHandles | The associated client handle for each entry in the server handle array. |
Implements UnifiedAutomation.UaServer.IServerMethods.
|
inlineprotectedvirtual |
Creates a query handle for use in query operation.
context | The request context. |
viewHandle | The view being queried. |
handle | The handle for the query. |
|
inlinevirtual |
Gets the list of rejected certificates.
context | The context for the request. |
model | The object which owns the method being called. |
certificates | The list of rejected certificates. |
Implements UnifiedAutomation.UaServer.IServerConfigurationMethods.
|
inlineprotectedvirtual |
Determines whether the request context has administrator access.
context | The request context. |
|
inlineprotectedvirtual |
Called when an aysnchrnous request completes.
context | The request context. |
incoming | The incoming. |
doNotBlockThread | if set to true then the current thread should not be blocked. |
|
inlineprotectedvirtual |
Called when an asynchronous request has an error during processing.
context | The request context. |
incoming | The incoming. |
doNotBlockThread | if set to true then the current thread should not be blocked. |
e | The exeception. |
|
inlineprotected |
Callback for processesing the request.
data | The request. |
statusCode | The error. |
|
inlineprotectedvirtual |
Called to register any aggregates during server initialization.
|
inlineprotectedvirtual |
Called when the request completes.
context | The request context. |
|
inlineprotectedvirtual |
Called when an asynchronous request encounters an error.
context | The request context. |
e | The exception. |
|
inlineprotectedvirtual |
Called when the root node manager starts.
nodeManager | The node manager. |
|
inlineprotectedvirtual |
Called before the server starts.
application | The application. |
Reimplemented from UnifiedAutomation.UaBase.ServerBase.
|
inlineprotectedvirtual |
Called before the server stops.
Reimplemented from UnifiedAutomation.UaBase.ServerBase.
|
inlineprotectedvirtual |
Called when the session manager starts.
sessionManager | The session manager. |
|
inlineprotectedvirtual |
Called when the subscription manager starts.
subscriptionManager | The subscription manager. |
|
inlinevirtual |
Called when a certificate is added to a trust list.
sender | The sender. |
e | The RemoveCertificateEventArgs instance containing the event data. |
|
inlineprotectedvirtual |
Handles a request to read the application trust lists.
sender | The sender. |
e | The ReadTrustListEventArgs instance containing the event data. |
|
inlinevirtual |
Called when a certificate is removed from a trust list.
sender | The sender. |
e | The RemoveCertificateEventArgs instance containing the event data. |
|
inlineprotectedvirtual |
Handles a request to update the application trust lists.
sender | The source of the event. |
e | The WriteTrustListEventArgs instance containing the event data. |
|
inlineprotectedvirtual |
Registers the aggregate (saves the factory and creates the objects in the addrres space).
aggregateId | The aggregate id. |
aggregateName | Name of the aggregate. |
factory | The factory. |
|
inline |
Reports the event to the Server notifier.
e | The event to report. |
|
inline |
Reports the event.
notifierId | The notifier which is the target for the event. |
e | The event to report. |
|
inline |
Requests that the server change state.
context | The context for the request. |
model | The object which owns the method being called. |
state | The target state for the server. |
estimatedReturnTime | The estimated time for when clients can connect to the server after the state change. |
secondsTillShutdown | The number of seconds until shutdown. |
reason | The reason for the state change. |
restart | Whether the server should restart after the shutdown. |
Implements UnifiedAutomation.UaServer.IServerMethods.
|
inline |
Requests that all cached values be resent for the specified subscription.
context | The context for the request. |
model | The object which owns the method being called. |
subscriptionId | The identifier for the subscription. |
Implements UnifiedAutomation.UaServer.IServerMethods.
|
inline |
Cleans up an expired session.
session | The session. |
error | The error for that caused the close. |
|
inline |
Sets a delegate used to override the GetHistoryEventHandle method for the CoreNodeManager.
handler | The handler. |
|
inline |
Requests that the subscription be made durable which means all queued values are saved to persistent storage.
context | The context for the request. |
model | The object which owns the method being called. |
subscriptionId | The identifier for the subscription. |
lifetimeInHours | The lifetime in hours for data saved by the subscription. |
revisedLifetimeInHours | The revised lifetime in hours for data saved by the subscription. |
Implements UnifiedAutomation.UaServer.IServerMethods.
|
inlinevirtual |
Called to enable or disable tracing for the server.
|
inlinevirtual |
Starts the server (called from a dedicated host process).
application | The application. |
Reimplemented from UnifiedAutomation.UaBase.ServerBase.
|
inlinevirtual |
Stops the server.
secondsTillShutdown | The seconds till shutdown. |
shutdownReason | The shutdown reason. |
restart | if set to true [restart]. |
|
inlinevirtual |
Stops the server and releases all resources.
Reimplemented from UnifiedAutomation.UaBase.ServerBase.
|
inlineprotectedvirtual |
Translates an exception.
diagnosticsMasks | The fields to return. |
preferredLocales | The preferred locales. |
e | The exception. |
|
inlinevirtual |
Updates the the application certificate.
context | The context for the request. |
model | The object which owns the method being called. |
certificateGroupId | The certificate group that is being updated. |
certificateTypeId | Type of the certificate allowed by the certificate group that is being updated. |
certificate | The certificate. |
issuerCertificates | The issuer certificates need to validate the certificate. |
privateKeyFormat | The private key format. |
privateKey | The private key (optional). |
applyChangesRequired | if set to true a restart is required. |
Implements UnifiedAutomation.UaServer.IServerConfigurationMethods.
|
inline |
Validates the data monitoring request.
context | The request context. |
nodeHandle | The node handle. |
itemToMonitor | The item to monitor. |
parameters | The parameters. |
metadata | The metadata. |
|
inlineprotectedvirtual |
Verifies that the request header is valid.
requestHeader | The request header. |
incoming | The incoming request for async operations that can be cancelled. |
requestType | Type of the request. |
|
get |
Gets the aggregate manager.
|
get |
The certificate groups supported by the server.
|
get |
Gets the core node manager.
|
get |
Gets the server context.
|
get |
A lock which must be acquired before accessing the diagnostics.
|
get |
Gets the filter manager.
|
get |
Gets the internal client object.
|
get |
Gets a value indicating whether auditing is enabled
|
get |
Gets a value indicating whether a restart is in progress.
true
if this instance is restartings; otherwise, false
.
|
get |
Gets a value indicating whether this instance is running.
true
if this instance is running; otherwise, false
.
|
get |
Gets the namespace uris.
|
get |
Gets the next unique id.
|
getset |
Gets or sets the assembly which has the Opc.Ua.NodeSet2 file as an embedded resource.
If this property is set, the Opc.Ua.NodeSet2 file from the assembly is used for the address space. This property should only be set for prototyping which requires an updated version of the namespace "http://opcfoundation.org/UA/".
|
get |
Gets the resource manager.
|
get |
Gets the root node manager.
|
get |
Gets the ScopeMapper used for importing nodes with a NodeAccessInfo;
|
get |
The diagnostics associated with the server.
|
get |
Gets the session manager.
|
get |
Gets the subscription manager.
|
get |
Gets the type manager.
EventHandler UnifiedAutomation.UaServer.ServerManager.ServerStarted |
Occurs when the server is started.
EventHandler UnifiedAutomation.UaServer.ServerManager.ServerStopped |
Occurs when the server is stopped.