.NET Based OPC UA Client/Server SDK  3.0.10.493
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 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 (ApplicationInstanceBase 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 (ApplicationInstanceBase configuration)
 Initializes the request queue. More...
 
virtual void DispatchRequest (IEndpointIncomingRequest request)
 Adds a request to the queue. More...
 
virtual void ProcessRequest (IEndpointIncomingRequest request)
 Processes the request. More...
 
ITransportListener CreateListener (ApplicationInstanceBase application)
 Creates the UA TCP 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 (ApplicationInstanceBase configuration)
 Called when the server configuration is changed on disk. More...
 
virtual void OnServerStarting (ApplicationInstanceBase configuration)
 Called before the server starts. More...
 
virtual List< StatusCodeInitializeServices (ApplicationInstanceBase application)
 Creates the endpoints and creates the hosts. More...
 
virtual void StartApplication (ApplicationInstanceBase configuration)
 Starts the server application. More...
 
virtual void OnServerStopping ()
 Called before the server stops 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
ApplicationInstanceBase 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...
 
ISecurityProvider SecurityProvider [get]
 Gets the security provider. More...
 
IEnumerable< ITransportListenerTransportListeners [get]
 Gets the list of transport listeners used by the server instance. More...
 
- Properties inherited from UnifiedAutomation.UaBase.IServerBase
ApplicationInstanceBase 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.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.FindServersOnNetwork ( RequestHeader  requestHeader,
uint  startingRecordId,
uint  maxRecordsToReturn,
StringCollection  serverCapabilityFilter,
out DateTime  lastCounterResetTime,
out ServerOnNetworkCollection  servers 
)
inlinevirtual

Invokes the FindServersOnNetwork 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.

virtual ResponseHeader UnifiedAutomation.UaBase.DiscoveryServerBase.RegisterServer2 ( RequestHeader  requestHeader,
RegisteredServer  server,
ExtensionObjectCollection  discoveryConfiguration,
out StatusCodeCollection  configurationResults,
out DiagnosticInfoCollection  diagnosticInfos 
)
inlinevirtual

Invokes the RegisterServer2 service.

Implements UnifiedAutomation.UaBase.IDiscoveryServer.


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