.NET Based OPC UA Client/Server SDK  3.1.0.500
UnifiedAutomation.UaBase.RegistrationClient Class Reference

The client side interface for a UA server. More...

Inherits UnifiedAutomation.UaBase.ClientBase.

Public Member Functions

 RegistrationClient (ITransportChannel channel)
 Intializes the object with a channel and a message context. More...
 
virtual ResponseHeader RegisterServer (RequestHeader requestHeader, RegisteredServer server)
 Invokes the RegisterServer service. More...
 
IAsyncResult BeginRegisterServer (RequestHeader requestHeader, RegisteredServer server, AsyncCallback callback, object asyncState)
 Begins an asynchronous invocation of the RegisterServer service. More...
 
ResponseHeader EndRegisterServer (IAsyncResult result)
 Finishes an asynchronous invocation of the RegisterServer service. More...
 
virtual ResponseHeader RegisterServer2 (RequestHeader requestHeader, RegisteredServer server, ExtensionObjectCollection discoveryConfiguration, out StatusCodeCollection configurationResults, out DiagnosticInfoCollection diagnosticInfos)
 Invokes the RegisterServer2 service. More...
 
IAsyncResult BeginRegisterServer2 (RequestHeader requestHeader, RegisteredServer server, ExtensionObjectCollection discoveryConfiguration, AsyncCallback callback, object asyncState)
 Begins an asynchronous invocation of the RegisterServer2 service. More...
 
ResponseHeader EndRegisterServer2 (IAsyncResult result, out StatusCodeCollection configurationResults, out DiagnosticInfoCollection diagnosticInfos)
 Finishes an asynchronous invocation of the RegisterServer2 service. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.ClientBase
 ClientBase (ITransportChannel channel)
 Intializes the object with a channel and a message context. More...
 
void Dispose ()
 Frees any unmanaged resources. More...
 
virtual void Close ()
 Closes the channel. More...
 

Static Public Member Functions

static RegistrationClient Create (ApplicationInstanceBase application, EndpointDescription endpoint, EndpointConfiguration configuration, ApplicationThreadPool threadPool)
 Creates a binding for to use for registering servers. More...
 
- Static Public Member Functions inherited from UnifiedAutomation.UaBase.ClientBase
static void ValidateResponse (IList response, IList request)
 Validates a response returned by the server. More...
 
static void ValidateDiagnosticInfos (DiagnosticInfoCollection response, IList request)
 Validates a response returned by the server. More...
 

Additional Inherited Members

- Protected Member Functions inherited from UnifiedAutomation.UaBase.ClientBase
virtual void Dispose (bool disposing)
 An overrideable version of the Dispose. More...
 
void CloseChannel ()
 Closes the channel. More...
 
void UpdateRequestHeader (IServiceRequest request, bool useDefaults, string serviceName)
 Updates the header of a service request. More...
 
virtual void RequestCompleted (IServiceRequest request, IServiceResponse response, string serviceName)
 Called when a request completes. More...
 
- Static Protected Member Functions inherited from UnifiedAutomation.UaBase.ClientBase
static void ValidateResponse (ResponseHeader header)
 Throws an exception if a response contains an error. More...
 
static bool IsTransportChannelRequired (EndpointDescription endpoint)
 Determines whether a transport channel required for the specified endpoint. More...
 
- Properties inherited from UnifiedAutomation.UaBase.ClientBase
ITransportChannel TransportChannel [get, protected set]
 Gets or set the channel being wrapped by the client object. More...
 
EndpointDescription EndpointDescription [get]
 The channel being wrapped by the client object. More...
 
EndpointConfiguration EndpointConfiguration [get]
 The channel being wrapped by the client object. More...
 
MessageContext MessageContext [get]
 Gets the message context. More...
 
int DefaultOperationTimeout [get, set]
 Sets the timeout for an operation. More...
 
bool UseTransportChannel [get]
 Gets a value that indicates whether to use the TransportChannel when sending requests. More...
 
bool Disposed [get]
 Whether the object has been disposed. More...
 

Detailed Description

The client side interface for a UA server.

An object used by servers to register with a UA discovery service.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.RegistrationClient.RegistrationClient ( ITransportChannel  channel)
inline

Intializes the object with a channel and a message context.

Member Function Documentation

IAsyncResult UnifiedAutomation.UaBase.RegistrationClient.BeginRegisterServer ( RequestHeader  requestHeader,
RegisteredServer  server,
AsyncCallback  callback,
object  asyncState 
)
inline

Begins an asynchronous invocation of the RegisterServer service.

IAsyncResult UnifiedAutomation.UaBase.RegistrationClient.BeginRegisterServer2 ( RequestHeader  requestHeader,
RegisteredServer  server,
ExtensionObjectCollection  discoveryConfiguration,
AsyncCallback  callback,
object  asyncState 
)
inline

Begins an asynchronous invocation of the RegisterServer2 service.

static RegistrationClient UnifiedAutomation.UaBase.RegistrationClient.Create ( ApplicationInstanceBase  application,
EndpointDescription  endpoint,
EndpointConfiguration  configuration,
ApplicationThreadPool  threadPool 
)
inlinestatic

Creates a binding for to use for registering servers.

Parameters
applicationThe application.
endpointThe endpoint.
configurationThe configuration.
threadPoolThe thread pool.
Returns
The new client.
ResponseHeader UnifiedAutomation.UaBase.RegistrationClient.EndRegisterServer ( IAsyncResult  result)
inline

Finishes an asynchronous invocation of the RegisterServer service.

ResponseHeader UnifiedAutomation.UaBase.RegistrationClient.EndRegisterServer2 ( IAsyncResult  result,
out StatusCodeCollection  configurationResults,
out DiagnosticInfoCollection  diagnosticInfos 
)
inline

Finishes an asynchronous invocation of the RegisterServer2 service.

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

Invokes the RegisterServer service.

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

Invokes the RegisterServer2 service.


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