C# Class Opc.Ua.ServiceHost

A host for a UA service.
Inheritance: System.ServiceModel.ServiceHost, IServiceHostBase
Afficher le fichier Open project: OPCFoundation/Misc-Tools

Méthodes publiques

Méthode Description
InitializeDiscovery ( ApplicationConfiguration configuration, StringCollection discoveryUrls ) : void

Adds the discovery url to the hosts.

ServiceHost ( ServerBase server, Type endpointType ) : System

Initializes the service host.

Méthodes protégées

Méthode Description
OnClosing ( ) : void

Shutdowns the server gracefully.

OnOpening ( ) : void

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

Private Methods

Méthode Description
InitializeSinglePolicy ( Type contractType, ApplicationConfiguration configuration, BindingFactory bindingFactory, EndpointConfiguration endpointConfiguration, List endpoints, MessageSecurityMode securityMode, string securityPolicyUri ) : void

Method Details

InitializeDiscovery() public méthode

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

OnClosing() protected méthode

Shutdowns the server gracefully.
protected OnClosing ( ) : void
Résultat void

OnOpening() protected méthode

Starts the UA TCP listener if configured as part of the host.
protected OnOpening ( ) : void
Résultat void

ServiceHost() public méthode

Initializes the service host.
public ServiceHost ( ServerBase server, Type endpointType ) : System
server ServerBase The server.
endpointType System.Type Type of the endpoint.
Résultat System