UA Bundle SDK .NET
2.4.0.361
|
A basic implementation of the UA server. More...
Inherits UnifiedAutomation.UaBase.ServerBase, and UnifiedAutomation.UaBase.IDiscoveryServer.
Public Member Functions | |
virtual ResponseHeader | FindServers (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection serverUris, out ApplicationDescriptionCollection servers) |
Invokes the FindServers service. More... | |
virtual ResponseHeader | FindServersOnNetwork (RequestHeader requestHeader, uint startingRecordId, uint maxRecordsToReturn, StringCollection serverCapabilityFilter, out DateTime lastCounterResetTime, out ServerOnNetworkCollection servers) |
Invokes the FindServersOnNetwork service. More... | |
virtual ResponseHeader | GetEndpoints (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection profileUris, out EndpointDescriptionCollection endpoints) |
Invokes the GetEndpoints service. More... | |
virtual ResponseHeader | RegisterServer (RequestHeader requestHeader, RegisteredServer server) |
Invokes the RegisterServer service. More... | |
virtual ResponseHeader | RegisterServer2 (RequestHeader requestHeader, RegisteredServer server, ExtensionObjectCollection discoveryConfiguration, out StatusCodeCollection configurationResults, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the RegisterServer2 service. More... | |
Public Member Functions inherited from UnifiedAutomation.UaBase.ServerBase | |
ServerBase () | |
Initializes object with default values. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
void | ScheduleIncomingRequest (IEndpointIncomingRequest request) |
Schedules an incoming request. More... | |
ApplicationLicense | GetProductLicense () |
Gets the application license. More... | |
virtual void | Start (ApplicationInstance application) |
Starts the server (called from a dedicated host process). More... | |
virtual void | Stop () |
Stops the server and releases all resources. More... | |
void | RunInThreadPool (ThreadPoolEventHandler callback, object request) |
Runs an operation the in server thread pool. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.ServerBase | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
void | InitializeRequestQueue (ApplicationInstance configuration) |
Initializes the request queue. More... | |
virtual void | DispatchRequest (IEndpointIncomingRequest request) |
Schedules an incoming request. More... | |
virtual ServiceHost | CreateServiceHost (ServerBase server, params Uri[] addresses) |
Creates an instance of the service host. More... | |
virtual Type | GetServiceContract () |
Returns the service contract to use. More... | |
virtual EndpointBase | GetEndpointInstance (ServerBase server) |
Returns an instance of the endpoint to use. More... | |
List< ServiceHost > | CreateServiceHosts (ApplicationInstance application) |
Create a new WCF service host for protocols that require a WCF service host. More... | |
ITransportListener | CreateUaTcpListener (ApplicationInstance application) |
Creates the UA TCP listener. More... | |
ITransportListener | CreateHttpsListener (ApplicationInstance application) |
Creates the HTTPS listener. More... | |
virtual void | ValidateRequest (RequestHeader requestHeader) |
Verifies that the request header is valid. More... | |
virtual ResponseHeader | CreateResponse (RequestHeader requestHeader, uint statusCode) |
Creates the response header. More... | |
virtual void | OnUpdateConfiguration (ApplicationInstance configuration) |
Called when the server configuration is changed on disk. More... | |
virtual void | OnServerStarting (ApplicationInstance configuration) |
Called before the server starts. More... | |
virtual List< StatusCode > | InitializeServices (ApplicationInstance application) |
Creates the endpoints and creates the hosts. More... | |
virtual void | StartApplication (ApplicationInstance configuration) |
Starts the server application. More... | |
virtual void | OnServerStopping () |
Called before the server stops More... | |
virtual void | ProcessRequest (IEndpointIncomingRequest request) |
Processes the request. More... | |
string | NormalizeHostname (string hostname) |
Checks for IP address or well known hostnames that map to the computer. More... | |
ApplicationDescription | GetApplicationDescription (Uri clientUrl, ApplicationDescription description, LocalizedText applicationName) |
Gets the application description. More... | |
EndpointDescriptionCollection | GetEndpointDescriptions (Uri clientUrl, ApplicationDescription application) |
Gets the endpoint descriptions. More... | |
Properties inherited from UnifiedAutomation.UaBase.ServerBase | |
ApplicationInstance | Application [get] |
Gets the application. More... | |
MessageContext | MessageContext [get] |
The message context to use with the service. More... | |
ApplicationThreadPool | ThreadPool [get] |
Gets the thread pool used by the server. More... | |
StatusCode | ServerError [get] |
An error condition that describes why the server if not running (null if no error exists). More... | |
IEnumerable< ServiceHost > | WcfServiceHosts [get] |
Gets the list of WCF service hosts used by the server instance. More... | |
IEnumerable< ITransportListener > | TransportListeners [get] |
Gets the list of transport listeners used by the server instance. More... | |
Properties inherited from UnifiedAutomation.UaBase.IServerBase | |
ApplicationInstance | Application [get] |
Gets the application. More... | |
MessageContext | MessageContext [get] |
The message context to use with the service. More... | |
StatusCode | ServerError [get] |
An error condition that describes why the server if not running (null if no error exists). More... | |
A basic implementation of the UA server.
|
inlinevirtual |
Invokes the FindServers service.
Implements UnifiedAutomation.UaBase.IDiscoveryServer.
|
inlinevirtual |
Invokes the FindServersOnNetwork service.
Implements UnifiedAutomation.UaBase.IDiscoveryServer.
|
inlinevirtual |
Invokes the GetEndpoints service.
Implements UnifiedAutomation.UaBase.IDiscoveryServer.
|
inlinevirtual |
Invokes the RegisterServer service.
Implements UnifiedAutomation.UaBase.IDiscoveryServer.
|
inlinevirtual |
Invokes the RegisterServer2 service.
Implements UnifiedAutomation.UaBase.IDiscoveryServer.