A host for a UA service.
More...
Inherits ServiceHost, and UnifiedAutomation.UaBase.IServiceHostBase.
|
override void | OnClosing () |
| Shutdowns the server gracefully. More...
|
|
override void | OnOpening () |
| Starts the UA TCP listener if configured as part of the host. More...
|
|
UnifiedAutomation.UaBase.ServiceHost.ServiceHost |
( |
ServerBase |
server, |
|
|
Type |
endpointType, |
|
|
params Uri[] |
addresses |
|
) |
| |
|
inline |
Initializes the service host.
- Parameters
-
server | The server. |
endpointType | Type of the endpoint. |
addresses | The addresses. |
Initializes the host for protocols that support a single policy per endpoint.
- Parameters
-
contractType | Type of the contract. |
application | The application. |
endpoint | The endpoint. |
override void UnifiedAutomation.UaBase.ServiceHost.OnClosing |
( |
| ) |
|
|
inlineprotected |
Shutdowns the server gracefully.
override void UnifiedAutomation.UaBase.ServiceHost.OnOpening |
( |
| ) |
|
|
inlineprotected |
Starts the UA TCP listener if configured as part of the host.
IServerBase UnifiedAutomation.UaBase.ServiceHost.Server |
|
get |
The UA server instance associated with the service host.
The server.
bool UnifiedAutomation.UaBase.ServiceHost.StopServerOnClose |
|
getset |
Whether the host should stop its contained server when it is closed.
true
if server is to be stoped on close, otherwise false
.
The documentation for this class was generated from the following file:
- D:/work/uasdknet/src/UaBase/Wcf/ServiceHost.cs