C# Класс Opc.Ua.ServiceHost

A host for a UA service.
Наследование: System.ServiceModel.ServiceHost, IServiceHostBase
Показать файл Открыть проект

Открытые методы

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