UA Bundle SDK .NET  2.2.0.255
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
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 FindDnsServices (RequestHeader requestHeader, string endpointUrl, StringCollection serviceNameFilters, StringCollection serviceTypeFilters, out DnsServiceRecordCollection services)
 Invokes the FindDnsServices service. More...
 
IAsyncResult BeginFindDnsServices (RequestHeader requestHeader, string endpointUrl, StringCollection serviceNameFilters, StringCollection serviceTypeFilters, AsyncCallback callback, object asyncState)
 Begins an asynchronous invocation of the FindDnsServices service. More...
 
ResponseHeader EndFindDnsServices (IAsyncResult result, out DnsServiceRecordCollection services)
 Finishes an asynchronous invocation of the FindDnsServices service. 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...
 
- 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 (ApplicationInstance application, EndpointDescription endpoint, EndpointConfiguration configuration)
 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...
 

Properties

new IRegistrationChannel InnerChannel [get]
 The component contains classes object use to communicate with the server. More...
 
- Properties inherited from UnifiedAutomation.UaBase.ClientBase
ITransportChannel TransportChannel [get, 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...
 

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...
 
virtual 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...
 

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.BeginFindDnsServices ( RequestHeader  requestHeader,
string  endpointUrl,
StringCollection  serviceNameFilters,
StringCollection  serviceTypeFilters,
AsyncCallback  callback,
object  asyncState 
)
inline

Begins an asynchronous invocation of the FindDnsServices service.

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

Begins an asynchronous invocation of the RegisterServer service.

static RegistrationClient UnifiedAutomation.UaBase.RegistrationClient.Create ( ApplicationInstance  application,
EndpointDescription  endpoint,
EndpointConfiguration  configuration 
)
inlinestatic

Creates a binding for to use for registering servers.

Parameters
applicationThe application.
endpointThe endpoint.
configurationThe configuration.
Returns
The new client.
ResponseHeader UnifiedAutomation.UaBase.RegistrationClient.EndFindDnsServices ( IAsyncResult  result,
out DnsServiceRecordCollection  services 
)
inline

Finishes an asynchronous invocation of the FindDnsServices service.

ResponseHeader UnifiedAutomation.UaBase.RegistrationClient.EndRegisterServer ( IAsyncResult  result)
inline

Finishes an asynchronous invocation of the RegisterServer service.

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

Invokes the FindDnsServices service.

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

Invokes the RegisterServer service.

Property Documentation

new IRegistrationChannel UnifiedAutomation.UaBase.RegistrationClient.InnerChannel
get

The component contains classes object use to communicate with the server.


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