C# Class Opc.Ua.Com.Client.ComWrapperServer

Implements a basic UA Data Access Server.
Each server instance must have one instance of a StandardServer object which is responsible for reading the configuration file, creating the endpoints and dispatching incoming requests to the appropriate handler. This sub-class specifies non-configurable metadata such as Product Name and initializes the DataAccessServerNodeManager which provides access to the data exposed by the Server.
Inheritance: Opc.Ua.Server.StandardServer
Mostrar archivo Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
SessionManager_ImpersonateUser ( Session session, ImpersonateEventArgs args ) : void

Check whether it is an acceptable session.

Protected Methods

Method Description
CreateMasterNodeManager ( IServerInternal server, ApplicationConfiguration configuration ) : MasterNodeManager

Creates the node managers for the server.

This method allows the sub-class create any additional node managers which it uses. The SDK always creates a CoreNodeManager which handles the built-in nodes defined by the specification. Any additional NodeManagers are expected to handle application specific nodes.

LoadServerProperties ( ) : ServerProperties

Loads the non-configurable properties for the application.

These properties are exposed by the server but cannot be changed by administrators.

OnApplicationCertificateError ( byte clientCertificate, ServiceResult result ) : void

Handles an error when validating the application instance certificate provided by a client.

OnNodeManagerStarted ( IServerInternal server ) : void

Called after the node managers have started.

OnServerStarted ( IServerInternal server ) : void

Called after the server has been started.

Method Details

CreateMasterNodeManager() protected method

Creates the node managers for the server.
This method allows the sub-class create any additional node managers which it uses. The SDK always creates a CoreNodeManager which handles the built-in nodes defined by the specification. Any additional NodeManagers are expected to handle application specific nodes.
protected CreateMasterNodeManager ( IServerInternal server, ApplicationConfiguration configuration ) : MasterNodeManager
server IServerInternal
configuration ApplicationConfiguration
return Opc.Ua.Server.MasterNodeManager

LoadServerProperties() protected method

Loads the non-configurable properties for the application.
These properties are exposed by the server but cannot be changed by administrators.
protected LoadServerProperties ( ) : ServerProperties
return Opc.Ua.ServerProperties

OnApplicationCertificateError() protected method

Handles an error when validating the application instance certificate provided by a client.
protected OnApplicationCertificateError ( byte clientCertificate, ServiceResult result ) : void
clientCertificate byte The client certificate.
result Opc.Ua.ServiceResult The result.
return void

OnNodeManagerStarted() protected method

Called after the node managers have started.
protected OnNodeManagerStarted ( IServerInternal server ) : void
server IServerInternal
return void

OnServerStarted() protected method

Called after the server has been started.
protected OnServerStarted ( IServerInternal server ) : void
server IServerInternal The server.
return void

SessionManager_ImpersonateUser() public method

Check whether it is an acceptable session.
public SessionManager_ImpersonateUser ( Session session, ImpersonateEventArgs args ) : void
session Opc.Ua.Server.Session The session.
args Opc.Ua.Server.ImpersonateEventArgs IdentityToken.
return void