UA Bundle SDK .NET
2.1.0.222
|
The client side interface for a UA server. More...
Inherits UnifiedAutomation.UaBase.ClientBase.
Public Member Functions | |
DiscoveryClient (ITransportChannel channel) | |
Intializes the object with a channel and a message context. | |
virtual ResponseHeader | FindServers (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection serverUris, out ApplicationDescriptionCollection servers) |
Invokes the FindServers service. | |
IAsyncResult | BeginFindServers (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection serverUris, AsyncCallback callback, object asyncState) |
Begins an asynchronous invocation of the FindServers service. | |
ResponseHeader | EndFindServers (IAsyncResult result, out ApplicationDescriptionCollection servers) |
Finishes an asynchronous invocation of the FindServers service. | |
virtual ResponseHeader | GetEndpoints (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection profileUris, out EndpointDescriptionCollection endpoints) |
Invokes the GetEndpoints service. | |
IAsyncResult | BeginGetEndpoints (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection profileUris, AsyncCallback callback, object asyncState) |
Begins an asynchronous invocation of the GetEndpoints service. | |
ResponseHeader | EndGetEndpoints (IAsyncResult result, out EndpointDescriptionCollection endpoints) |
Finishes an asynchronous invocation of the GetEndpoints service. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.ClientBase | |
ClientBase (ITransportChannel channel) | |
Intializes the object with a channel and a message context. | |
void | Dispose () |
Frees any unmanaged resources. | |
virtual void | Close () |
Closes the channel. | |
Static Public Member Functions | |
static DiscoveryClient | Create (ApplicationInstance application, EndpointConfiguration configuration, Uri discoveryUrl, string transportProfileUri) |
Creates a binding for to use for discovering servers. | |
Static Public Member Functions inherited from UnifiedAutomation.UaBase.ClientBase | |
static void | ValidateResponse (IList response, IList request) |
Validates a response returned by the server. | |
static void | ValidateDiagnosticInfos (DiagnosticInfoCollection response, IList request) |
Validates a response returned by the server. | |
Properties | |
new IDiscoveryChannel | InnerChannel [get] |
The component contains classes object use to communicate with the server. | |
Properties inherited from UnifiedAutomation.UaBase.ClientBase | |
ITransportChannel | TransportChannel [get, set] |
Gets or set the channel being wrapped by the client object. | |
EndpointDescription | EndpointDescription [get] |
The channel being wrapped by the client object. | |
EndpointConfiguration | EndpointConfiguration [get] |
The channel being wrapped by the client object. | |
MessageContext | MessageContext [get] |
Gets the message context. | |
int | DefaultOperationTimeout [get, set] |
Sets the timeout for an operation. | |
bool | UseTransportChannel [get] |
Gets a value that indicates whether to use the TransportChannel when sending requests. | |
bool | Disposed [get] |
Whether the object has been disposed. | |
Additional Inherited Members | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.ClientBase | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. | |
void | CloseChannel () |
Closes the channel. | |
virtual void | UpdateRequestHeader (IServiceRequest request, bool useDefaults, string serviceName) |
Updates the header of a service request. | |
virtual void | RequestCompleted (IServiceRequest request, IServiceResponse response, string serviceName) |
Called when a request completes. | |
Static Protected Member Functions inherited from UnifiedAutomation.UaBase.ClientBase | |
static void | ValidateResponse (ResponseHeader header) |
Throws an exception if a response contains an error. | |
The client side interface for a UA server.
An object used by clients to access a UA discovery service.
<exclude>
UnifiedAutomation.UaBase.DiscoveryClient.DiscoveryClient | ( | ITransportChannel | channel | ) |
Intializes the object with a channel and a message context.
IAsyncResult UnifiedAutomation.UaBase.DiscoveryClient.BeginFindServers | ( | RequestHeader | requestHeader, |
string | endpointUrl, | ||
StringCollection | localeIds, | ||
StringCollection | serverUris, | ||
AsyncCallback | callback, | ||
object | asyncState | ||
) |
Begins an asynchronous invocation of the FindServers service.
IAsyncResult UnifiedAutomation.UaBase.DiscoveryClient.BeginGetEndpoints | ( | RequestHeader | requestHeader, |
string | endpointUrl, | ||
StringCollection | localeIds, | ||
StringCollection | profileUris, | ||
AsyncCallback | callback, | ||
object | asyncState | ||
) |
Begins an asynchronous invocation of the GetEndpoints service.
|
static |
Creates a binding for to use for discovering servers.
application | The application. |
configuration | The configuration. |
discoveryUrl | The discovery URL. |
transportProfileUri | The transport profile URI. |
ResponseHeader UnifiedAutomation.UaBase.DiscoveryClient.EndFindServers | ( | IAsyncResult | result, |
out ApplicationDescriptionCollection | servers | ||
) |
Finishes an asynchronous invocation of the FindServers service.
ResponseHeader UnifiedAutomation.UaBase.DiscoveryClient.EndGetEndpoints | ( | IAsyncResult | result, |
out EndpointDescriptionCollection | endpoints | ||
) |
Finishes an asynchronous invocation of the GetEndpoints service.
|
virtual |
Invokes the FindServers service.
|
virtual |
Invokes the GetEndpoints service.
|
get |
The component contains classes object use to communicate with the server.