.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaBase.WcfChannelBase< TChannel > Class Template Reference

A base class for WCF channel objects used access UA interfaces More...

Inherits UnifiedAutomation.UaBase.WcfChannelBase.

Inherited by UnifiedAutomation.UaBase.DiscoveryChannel, UnifiedAutomation.UaBase.RegistrationChannel, UnifiedAutomation.UaBase.SessionChannel, and UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.WcfChannelAsyncResult.

Classes

class  WcfChannelAsyncResult
 An async result object that wraps the WCF channel. More...
 

Public Member Functions

 WcfChannelBase ()
 Initializes the object with the specified binding and endpoint address. More...
 
override
InvokeServiceResponseMessage 
InvokeService (InvokeServiceMessage request)
 The client side implementation of the InvokeService service contract. More...
 
override IAsyncResult BeginInvokeService (InvokeServiceMessage request, AsyncCallback callback, object asyncState)
 The client side implementation of the BeginInvokeService service contract. More...
 
override
InvokeServiceResponseMessage 
EndInvokeService (IAsyncResult result)
 The client side implementation of the EndInvokeService service contract. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.WcfChannelBase
 WcfChannelBase ()
 Initializes the object with the specified binding and endpoint address. More...
 
void Dispose ()
 Frees any unmanaged resources. More...
 
void OpenChannel ()
 Opens the channel with the server. More...
 
void CloseChannel ()
 Closes the channel with the server. More...
 
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...
 
StatusException HandleSoapFault (System.ServiceModel.FaultException< ServiceFault > exception)
 Converts a FaultException into a StatusException. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 An overrideable version of the Dispose. More...
 

Properties

TChannel Channel [get]
 Gets the inner channel. More...
 
- Properties inherited from UnifiedAutomation.UaBase.WcfChannelBase
bool UseBinaryEncoding [get, set]
 Gets a value indicating that the binary encoding should be used with this channe. More...
 
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...
 
- Properties inherited from UnifiedAutomation.UaBase.ITransportChannel
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from UnifiedAutomation.UaBase.WcfChannelBase
static ITransportChannel CreateTransportChannel (ApplicationInstance application, EndpointDescription description, EndpointConfiguration configuration, MessageContext context, ApplicationThreadPool threadPool)
 Creates a new UA-binary transport channel if requested. Null otherwise. More...
 

Detailed Description

A base class for WCF channel objects used access UA interfaces

Type Constraints
TChannel :class 
TChannel :IChannelBase 

Constructor & Destructor Documentation

Initializes the object with the specified binding and endpoint address.

Member Function Documentation

override IAsyncResult UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.BeginInvokeService ( InvokeServiceMessage  request,
AsyncCallback  callback,
object  asyncState 
)
inlinevirtual

The client side implementation of the BeginInvokeService service contract.

Implements UnifiedAutomation.UaBase.WcfChannelBase.

override void UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.Dispose ( bool  disposing)
inlineprotectedvirtual

An overrideable version of the Dispose.

Reimplemented from UnifiedAutomation.UaBase.WcfChannelBase.

override InvokeServiceResponseMessage UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.EndInvokeService ( IAsyncResult  result)
inlinevirtual

The client side implementation of the EndInvokeService service contract.

Implements UnifiedAutomation.UaBase.WcfChannelBase.

override InvokeServiceResponseMessage UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.InvokeService ( InvokeServiceMessage  request)
inlinevirtual

The client side implementation of the InvokeService service contract.

Implements UnifiedAutomation.UaBase.WcfChannelBase.

Property Documentation

TChannel UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.Channel
getprotected

Gets the inner channel.

The channel.


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