UA Bundle SDK .NET  2.2.1.258
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.ITransportChannel Interface Reference

This is an interface to a channel which supports More...

Inherits IDisposable.

Inherited by UnifiedAutomation.UaBase.WcfChannelBase.

Public Member Functions

void Initialize (Uri url, TransportChannelSettings settings)
 Initializes a secure channel with the endpoint identified by the URL. More...
 
IServiceResponse SendRequest (IServiceRequest request)
 Sends a request over the secure channel. More...
 
IAsyncResult BeginSendRequest (IServiceRequest request, AsyncCallback callback, object callbackData)
 Begins an asynchronous operation to send a request over the secure channel. More...
 
IServiceResponse EndSendRequest (IAsyncResult result)
 Completes an asynchronous operation to send a request over the secure channel. More...
 
void Close ()
 Closes the secure channel. More...
 

Properties

EndpointDescription EndpointDescription [get]
 Gets the description for the endpoint used by the channel. More...
 
EndpointConfiguration EndpointConfiguration [get]
 Gets the configuration for the channel. More...
 
MessageContext MessageContext [get]
 Gets the context used when serializing messages exchanged via the channel. More...
 
int OperationTimeout [get, set]
 Gets or sets the default timeout for requests send via the channel. More...
 

Detailed Description

This is an interface to a channel which supports

Member Function Documentation

IAsyncResult UnifiedAutomation.UaBase.ITransportChannel.BeginSendRequest ( IServiceRequest  request,
AsyncCallback  callback,
object  callbackData 
)

Begins an asynchronous operation to send a request over the secure channel.

Parameters
requestThe request to send.
callbackThe callback to call when the operation completes.
callbackDataThe callback data to return with the callback.
Returns
The result which must be passed to the EndSendRequest method.
Exceptions
StatusExceptionThrown if any communication error occurs.
See Also
SendRequest

Implemented in UnifiedAutomation.UaBase.WcfChannelBase.

void UnifiedAutomation.UaBase.ITransportChannel.Close ( )

Closes the secure channel.

Implemented in UnifiedAutomation.UaBase.WcfChannelBase.

IServiceResponse UnifiedAutomation.UaBase.ITransportChannel.EndSendRequest ( IAsyncResult  result)

Completes an asynchronous operation to send a request over the secure channel.

Parameters
resultThe result returned from the BeginSendRequest call.
Exceptions
StatusExceptionThrown if any communication error occurs.
See Also
SendRequest

Implemented in UnifiedAutomation.UaBase.WcfChannelBase.

void UnifiedAutomation.UaBase.ITransportChannel.Initialize ( Uri  url,
TransportChannelSettings  settings 
)

Initializes a secure channel with the endpoint identified by the URL.

Parameters
urlThe URL for the endpoint.
settingsThe settings to use when creating the channel.
Exceptions
StatusExceptionThrown if any communication error occurs.

Implemented in UnifiedAutomation.UaBase.WcfChannelBase.

IServiceResponse UnifiedAutomation.UaBase.ITransportChannel.SendRequest ( IServiceRequest  request)

Sends a request over the secure channel.

Parameters
requestThe request to send.
Returns
The response returned by the server.
Exceptions
StatusExceptionThrown if any communication error occurs.

Implemented in UnifiedAutomation.UaBase.WcfChannelBase.

Property Documentation

EndpointConfiguration UnifiedAutomation.UaBase.ITransportChannel.EndpointConfiguration
get

Gets the configuration for the channel.

EndpointDescription UnifiedAutomation.UaBase.ITransportChannel.EndpointDescription
get

Gets the description for the endpoint used by the channel.

MessageContext UnifiedAutomation.UaBase.ITransportChannel.MessageContext
get

Gets the context used when serializing messages exchanged via the channel.

int UnifiedAutomation.UaBase.ITransportChannel.OperationTimeout
getset

Gets or sets the default timeout for requests send via the channel.


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