C# Class Quickstarts.ReferenceServer.ReferenceServer

Implements a basic Quickstart 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 EmptyNodeManager which provides access to the data exposed by the Server.
Inheritance: Opc.Ua.Server.StandardServer
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes protégées

Méthode 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.

CreateResourceManager ( IServerInternal server, ApplicationConfiguration configuration ) : ResourceManager

Creates the resource manager for the server.

LoadServerProperties ( ) : ServerProperties

Loads the non-configurable properties for the application.

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

OnServerStarted ( IServerInternal server ) : void

Called after the server has been started.

Private Methods

Méthode Description
SessionManager_ImpersonateUser ( Session session, ImpersonateEventArgs args ) : void

Called when a client tries to change its user identity.

VerifyPassword ( string userName, string password ) : void

Validates the password for a username token.

Method Details

CreateMasterNodeManager() protected méthode

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
Résultat Opc.Ua.Server.MasterNodeManager

CreateResourceManager() protected méthode

Creates the resource manager for the server.
protected CreateResourceManager ( IServerInternal server, ApplicationConfiguration configuration ) : ResourceManager
server IServerInternal
configuration ApplicationConfiguration
Résultat Opc.Ua.Server.ResourceManager

LoadServerProperties() protected méthode

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

OnServerStarted() protected méthode

Called after the server has been started.
protected OnServerStarted ( IServerInternal server ) : void
server IServerInternal
Résultat void