C# 클래스 Opc.Ua.ServiceHost

A host for a UA service.
상속: System.ServiceModel.ServiceHost, IServiceHostBase
파일 보기 프로젝트 열기: OPCFoundation/Misc-Tools

공개 메소드들

메소드 설명
InitializeDiscovery ( ApplicationConfiguration configuration, StringCollection discoveryUrls ) : void

Adds the discovery url to the hosts.

ServiceHost ( ServerBase server, Type endpointType ) : System

Initializes the service host.

보호된 메소드들

메소드 설명
OnClosing ( ) : void

Shutdowns the server gracefully.

OnOpening ( ) : void

Starts the UA TCP listener if configured as part of the host.

비공개 메소드들

메소드 설명
InitializeSinglePolicy ( Type contractType, ApplicationConfiguration configuration, BindingFactory bindingFactory, EndpointConfiguration endpointConfiguration, List endpoints, MessageSecurityMode securityMode, string securityPolicyUri ) : void

메소드 상세

InitializeDiscovery() 공개 메소드

Adds the discovery url to the hosts.
public InitializeDiscovery ( ApplicationConfiguration configuration, StringCollection discoveryUrls ) : void
configuration ApplicationConfiguration The configuration.
discoveryUrls StringCollection The discovery urls.
리턴 void

OnClosing() 보호된 메소드

Shutdowns the server gracefully.
protected OnClosing ( ) : void
리턴 void

OnOpening() 보호된 메소드

Starts the UA TCP listener if configured as part of the host.
protected OnOpening ( ) : void
리턴 void

ServiceHost() 공개 메소드

Initializes the service host.
public ServiceHost ( ServerBase server, Type endpointType ) : System
server ServerBase The server.
endpointType System.Type Type of the endpoint.
리턴 System