C# Класс 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.
Наследование: Opc.Ua.Server.StandardServer
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

CreateMasterNodeManager() защищенный Метод

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
Результат Opc.Ua.Server.MasterNodeManager

CreateResourceManager() защищенный Метод

Creates the resource manager for the server.
protected CreateResourceManager ( IServerInternal server, ApplicationConfiguration configuration ) : ResourceManager
server IServerInternal
configuration ApplicationConfiguration
Результат Opc.Ua.Server.ResourceManager

LoadServerProperties() защищенный Метод

Loads the non-configurable properties for the application.
These properties are exposed by the server but cannot be changed by administrators.
protected LoadServerProperties ( ) : ServerProperties
Результат Opc.Ua.ServerProperties

OnServerStarted() защищенный Метод

Called after the server has been started.
protected OnServerStarted ( IServerInternal server ) : void
server IServerInternal
Результат void