UA Bundle SDK .NET  2.2.0.255
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.DiscoveryServerBase Class Reference

A basic implementation of the UA server. More...

Inherits UnifiedAutomation.UaBase.ServerBase, and UnifiedAutomation.UaBase.IDiscoveryServer.

Public Member Functions

virtual ResponseHeader FindDnsServices (RequestHeader requestHeader, string endpointUrl, StringCollection serviceNameFilters, StringCollection serviceTypeFilters, out DnsServiceRecordCollection services)
 Invokes the FindDnsServices service. More...
 
virtual ResponseHeader FindServers (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection serverUris, out ApplicationDescriptionCollection servers)
 Invokes the FindServers 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...
 
- 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...
 
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< ServiceHostCreateServiceHosts (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< StatusCodeInitializeServices (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...
 
ApplicationLicense License [get]
 Gets the application license. 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...
 
IEnumerable< ServiceHostWcfServiceHosts [get]
 Gets the list of WCF service hosts used by the server instance. More...
 
IEnumerable< ITransportListenerTransportListeners [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...
 

Detailed Description

A basic implementation of the UA server.

Member Function Documentation

virtual ResponseHeader UnifiedAutomation.UaBase.DiscoveryServerBase.FindDnsServices ( RequestHeader  requestHeader,
string  endpointUrl,
StringCollection  serviceNameFilters,
StringCollection  serviceTypeFilters,
out DnsServiceRecordCollection  services 
)
inlinevirtual

Invokes the FindDnsServices service.

Implements UnifiedAutomation.UaBase.IDiscoveryServer.

virtual ResponseHeader UnifiedAutomation.UaBase.DiscoveryServerBase.FindServers ( RequestHeader  requestHeader,
string  endpointUrl,
StringCollection  localeIds,
StringCollection  serverUris,
out ApplicationDescriptionCollection  servers 
)
inlinevirtual

Invokes the FindServers service.

Implements UnifiedAutomation.UaBase.IDiscoveryServer.

virtual ResponseHeader UnifiedAutomation.UaBase.DiscoveryServerBase.GetEndpoints ( RequestHeader  requestHeader,
string  endpointUrl,
StringCollection  localeIds,
StringCollection  profileUris,
out EndpointDescriptionCollection  endpoints 
)
inlinevirtual

Invokes the GetEndpoints service.

Implements UnifiedAutomation.UaBase.IDiscoveryServer.

virtual ResponseHeader UnifiedAutomation.UaBase.DiscoveryServerBase.RegisterServer ( RequestHeader  requestHeader,
RegisteredServer  server 
)
inlinevirtual

Invokes the RegisterServer service.

Implements UnifiedAutomation.UaBase.IDiscoveryServer.


The documentation for this class was generated from the following file: