Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Frees any unmanaged resources.
|
|
GetEndpoints ( ) : EndpointDescriptionCollection |
Returns the endpoints supported by the server.
|
|
RequireEncryption ( |
Specifies if the server requires encryption; if so the server needs to send its certificate to the clients and validate the client certificates
|
|
ScheduleIncomingRequest ( IEndpointIncomingRequest request ) : void |
Schedules an incoming request.
|
|
ServerBase ( ) : System |
Initializes object with default values.
|
|
Start ( ApplicationConfiguration configuration ) : |
Starts the server (called from a IIS host process).
|
|
Start ( ApplicationConfiguration configuration ) : void |
Starts the server (called from a dedicated host process).
|
Метод | Описание | |
---|---|---|
CreateHttpsServiceHost ( ServiceHost>.IDictionary |
Create a new service host for UA HTTPS.
|
|
CreateResponse ( RequestHeader requestHeader, |
Creates the response header.
|
|
CreateResponse ( RequestHeader requestHeader, |
Creates the response header.
|
|
CreateResponse ( RequestHeader requestHeader, uint statusCode ) : ResponseHeader |
Creates the response header.
|
|
CreateServiceHost ( |
Creates an instance of the service host.
|
|
CreateSinglePolicyServiceHost ( ServiceHost>.IDictionary |
Create a new service host for protocols that support only one policy per host.
|
|
CreateUaTcpServiceHost ( ServiceHost>.IDictionary |
Create a new service host for UA TCP.
|
|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
|
FilterByEndpointUrl ( |
Filters the list of addresses by the URL that the client provided.
|
|
FilterByProfile ( StringCollection profileUris, IList |
Filters the list of addresses by profile.
|
|
GetDiscoveryUrls ( ) : StringCollection |
Returns the discovery URLs for the server.
|
|
GetEndpointInstance ( |
Returns an instance of the endpoint to use.
|
|
GetServiceContract ( ) : |
Returns the service contract to use.
|
|
GetUserTokenPolicies ( ApplicationConfiguration configuration, |
Returns the UserTokenPolicies supported by the server.
|
|
InitializeRequestQueue ( ApplicationConfiguration configuration ) : void |
Initializes the request queue.
|
|
InitializeServiceHosts ( ApplicationConfiguration configuration, |
Creates the endpoints and creates the hosts.
|
|
LoadServerProperties ( ) : |
Returns the properties for associated with the server instance.
|
|
NormalizeHostname ( string hostname ) : string |
Checks for IP address or well known hostnames that map to the computer.
|
|
OnServerStarting ( ApplicationConfiguration configuration ) : void |
Called before the server starts.
|
|
OnServerStopping ( ) : void |
Called before the server stops
|
|
OnUpdateConfiguration ( ApplicationConfiguration configuration ) : void |
Called when the server configuration is changed on disk. Servers are free to ignore changes if it is difficult/impossible to apply them without a restart. |
|
ProcessRequest ( IEndpointIncomingRequest request, object calldata ) : void |
Processes the request.
|
|
StartApplication ( ApplicationConfiguration configuration ) : void |
Starts the server application.
|
|
TranslateApplicationDescription ( |
Translates the discovery URLs based on the client url and returns an updated ApplicationDescription.
|
|
TranslateEndpointDescriptions ( |
Translates the endpoint descriptions based on the client url and profiles provided.
|
|
ValidateRequest ( RequestHeader requestHeader ) : void |
Verifies that the request header is valid.
|
Метод | Описание | |
---|---|---|
GetBestDiscoveryUrl ( |
Returns the best discovery URL for the base address based on the URL used by the client.
|
|
InitializeBaseAddresses ( ApplicationConfiguration configuration ) : void |
Initializes the list of base addresses.
|
|
Stop ( ) : void |
protected CreateHttpsServiceHost ( ServiceHost>.IDictionary |
||
hosts | ServiceHost>.IDictionary | |
configuration | ApplicationConfiguration | |
bindingFactory | ||
baseAddresses | IList |
|
serverDescription | ApplicationDescription | |
securityPolicies | List |
|
Результат | List |
protected CreateResponse ( RequestHeader requestHeader, |
||
requestHeader | RequestHeader | The object that contains description for the RequestHeader DataType. |
exception | The exception used to create DiagnosticInfo assigned to the ServiceDiagnostics. | |
Результат | ResponseHeader |
protected CreateResponse ( RequestHeader requestHeader, |
||
requestHeader | RequestHeader | The object that contains description for the RequestHeader DataType. |
stringTable | The thread safe table of string constants. | |
Результат | ResponseHeader |
protected CreateResponse ( RequestHeader requestHeader, uint statusCode ) : ResponseHeader | ||
requestHeader | RequestHeader | The object that contains description for the RequestHeader DataType. |
statusCode | uint | The status code. |
Результат | ResponseHeader |
protected CreateServiceHost ( |
||
server | ||
Результат |
protected CreateSinglePolicyServiceHost ( ServiceHost>.IDictionary |
||
hosts | ServiceHost>.IDictionary | The hosts. |
configuration | ApplicationConfiguration | The configuration. |
bindingFactory | The binding factory. | |
baseAddresses | IList |
The base addresses. |
serverDescription | ApplicationDescription | The server description. |
securityMode | MessageSecurityMode | The security mode. |
securityPolicyUri | string | The security policy URI. |
basePath | string | The base path to use when constructing the hosts. |
Результат | List |
protected CreateUaTcpServiceHost ( ServiceHost>.IDictionary |
||
hosts | ServiceHost>.IDictionary | |
configuration | ApplicationConfiguration | |
bindingFactory | ||
baseAddresses | IList |
|
serverDescription | ApplicationDescription | |
securityPolicies | List |
|
Результат | List |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
protected FilterByEndpointUrl ( |
||
endpointUrl | ||
baseAddresses | IList |
|
Результат | IList |
protected FilterByProfile ( StringCollection profileUris, IList |
||
profileUris | StringCollection | |
baseAddresses | IList |
|
Результат | IList |
protected GetDiscoveryUrls ( ) : StringCollection | ||
Результат | StringCollection |
protected GetEndpointInstance ( |
||
server | ||
Результат |
public GetEndpoints ( ) : EndpointDescriptionCollection | ||
Результат | EndpointDescriptionCollection |
protected GetUserTokenPolicies ( ApplicationConfiguration configuration, |
||
configuration | ApplicationConfiguration | The configuration. |
description | The description. | |
Результат | UserTokenPolicyCollection |
protected InitializeRequestQueue ( ApplicationConfiguration configuration ) : void | ||
configuration | ApplicationConfiguration | The configuration. |
Результат | void |
protected InitializeServiceHosts ( ApplicationConfiguration configuration, |
||
configuration | ApplicationConfiguration | The object that stores the configurable configuration information for a UA application. |
bindingFactory | The object of a class that manages a mapping between a URL scheme and a binding. | |
serverDescription | ApplicationDescription | The object of the class that contains a description for the ApplicationDescription DataType. |
endpoints | EndpointDescriptionCollection | The collection of |
Результат | IList |
protected LoadServerProperties ( ) : |
||
Результат |
protected NormalizeHostname ( string hostname ) : string | ||
hostname | string | The hostname. |
Результат | string |
protected OnServerStarting ( ApplicationConfiguration configuration ) : void | ||
configuration | ApplicationConfiguration | The object that stores the configurable configuration information for a UA application. |
Результат | void |
protected OnUpdateConfiguration ( ApplicationConfiguration configuration ) : void | ||
configuration | ApplicationConfiguration | The object that stores the configurable configuration information for a UA application. |
Результат | void |
protected ProcessRequest ( IEndpointIncomingRequest request, object calldata ) : void | ||
request | IEndpointIncomingRequest | The request. |
calldata | object | The calldata passed with the request. |
Результат | void |
public static RequireEncryption ( |
||
description | The description. | |
Результат | bool |
public ScheduleIncomingRequest ( IEndpointIncomingRequest request ) : void | ||
request | IEndpointIncomingRequest | The request. |
Результат | void |
public Start ( ApplicationConfiguration configuration ) : |
||
configuration | ApplicationConfiguration | The object that stores the configurable configuration information /// for a UA application |
Результат |
public Start ( ApplicationConfiguration configuration ) : void | ||
configuration | ApplicationConfiguration | The object that stores the configurable configuration /// information for a UA application. /// |
Результат | void |
protected StartApplication ( ApplicationConfiguration configuration ) : void | ||
configuration | ApplicationConfiguration | The object that stores the configurable configuration information for a UA application. |
Результат | void |
protected TranslateApplicationDescription ( |
||
clientUrl | The client URL. | |
description | ApplicationDescription | The application description. |
baseAddresses | IList |
The base addresses. |
applicationName | Opc.Ua.LocalizedText | The localized application name. |
Результат | ApplicationDescription |
protected TranslateEndpointDescriptions ( |
||
clientUrl | The client URL. | |
baseAddresses | IList |
The base addresses. |
endpoints | IList |
The endpoints. |
application | ApplicationDescription | The application to use with the endpoints. |
Результат | EndpointDescriptionCollection |
protected ValidateRequest ( RequestHeader requestHeader ) : void | ||
requestHeader | RequestHeader | The object that contains description for the RequestHeader DataType. |
Результат | void |