A base class for a UA server implementation.
More...
Inherits UnifiedAutomation.UaBase.IServerBase, and IDisposable.
Inherited by UnifiedAutomation.UaBase.DiscoveryServerBase, and UnifiedAutomation.UaBase.SessionServerBase.
A base class for a UA server implementation.
UnifiedAutomation.UaBase.ServerBase.ServerBase |
( |
| ) |
|
|
inline |
Initializes object with default values.
Creates the HTTPS listener.
- Parameters
-
application | The application. |
Creates the response header.
- Parameters
-
requestHeader | The object that contains description for the RequestHeader DataType. |
statusCode | The status code. |
- Exceptions
-
- Returns
- Returns a description for the ResponseHeader DataType.
virtual ServiceHost UnifiedAutomation.UaBase.ServerBase.CreateServiceHost |
( |
ServerBase |
server, |
|
|
params Uri[] |
addresses |
|
) |
| |
|
inlineprotectedvirtual |
Creates an instance of the service host.
Create a new WCF service host for protocols that require a WCF service host.
- Parameters
-
application | The application. |
- Returns
- Returns list of descriptions for the EndpointDescription DataType, return type is list of
- See Also
- EndpointDescription
.
Creates the UA TCP listener.
- Parameters
-
application | The application. |
void UnifiedAutomation.UaBase.ServerBase.Dispose |
( |
| ) |
|
|
inline |
Frees any unmanaged resources.
virtual void UnifiedAutomation.UaBase.ServerBase.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotectedvirtual |
Gets the application description.
- Parameters
-
clientUrl | The client URL. |
description | The description. |
applicationName | Name of the application. |
- Returns
Gets the endpoint descriptions.
- Parameters
-
clientUrl | The client URL. |
application | The application. |
- Returns
Returns an instance of the endpoint to use.
virtual Type UnifiedAutomation.UaBase.ServerBase.GetServiceContract |
( |
| ) |
|
|
inlineprotectedvirtual |
Returns the service contract to use.
void UnifiedAutomation.UaBase.ServerBase.InitializeRequestQueue |
( |
ApplicationInstance |
configuration | ) |
|
|
inlineprotected |
Initializes the request queue.
- Parameters
-
configuration | The configuration. |
Creates the endpoints and creates the hosts.
- Parameters
-
application | The application. |
- Returns
- Returns list of hosts for a WCF services.
string UnifiedAutomation.UaBase.ServerBase.NormalizeHostname |
( |
string |
hostname | ) |
|
|
inlineprotected |
Checks for IP address or well known hostnames that map to the computer.
- Parameters
-
- Returns
- The hostname to use for URL filtering.
virtual void UnifiedAutomation.UaBase.ServerBase.OnServerStarting |
( |
ApplicationInstance |
configuration | ) |
|
|
inlineprotectedvirtual |
Called before the server starts.
- Parameters
-
configuration | The object that stores the configurable configuration information for a UA application. |
Reimplemented in UnifiedAutomation.UaServer.ServerManager.
virtual void UnifiedAutomation.UaBase.ServerBase.OnServerStopping |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual void UnifiedAutomation.UaBase.ServerBase.OnUpdateConfiguration |
( |
ApplicationInstance |
configuration | ) |
|
|
inlineprotectedvirtual |
Called when the server configuration is changed on disk.
- Parameters
-
configuration | The object that stores the configurable configuration information for a UA application. |
Servers are free to ignore changes if it is difficult/impossible to apply them without a restart.
Processes the request.
- Parameters
-
Runs an operation the in server thread pool.
- Parameters
-
request | The request. |
callback | The callback. |
Starts the server (called from a dedicated host process).
- Parameters
-
application | The application. |
virtual void UnifiedAutomation.UaBase.ServerBase.StartApplication |
( |
ApplicationInstance |
configuration | ) |
|
|
inlineprotectedvirtual |
Starts the server application.
- Parameters
-
configuration | The object that stores the configurable configuration information for a UA application. |
virtual void UnifiedAutomation.UaBase.ServerBase.Stop |
( |
| ) |
|
|
inlinevirtual |
virtual void UnifiedAutomation.UaBase.ServerBase.ValidateRequest |
( |
RequestHeader |
requestHeader | ) |
|
|
inlineprotectedvirtual |
Verifies that the request header is valid.
- Parameters
-
requestHeader | The object that contains description for the RequestHeader DataType. |
ApplicationLicense UnifiedAutomation.UaBase.ServerBase.License |
|
get |
Gets the application license.
The message context to use with the service.
The message context that stores context information associated with a UA server that is used during message processing.
StatusCode UnifiedAutomation.UaBase.ServerBase.ServerError |
|
get |
An error condition that describes why the server if not running (null if no error exists).
The object that combines the status code and diagnostic info structures.
Gets the list of transport listeners used by the server instance.
The transport listeners.
IEnumerable<ServiceHost> UnifiedAutomation.UaBase.ServerBase.WcfServiceHosts |
|
getprotected |
Gets the list of WCF service hosts used by the server instance.
The WCF service hosts.
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaBase/Wcf/ServerBase.cs