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
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

보호된 메소드들

메소드 설명
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