.NET Based OPC UA Client/Server SDK
2.5.4.397
|
A base class for WCF channel objects used access UA interfaces More...
Inherits UnifiedAutomation.UaBase.IChannelBase, and UnifiedAutomation.UaBase.ITransportChannel.
Inherited by UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.
Public Member Functions | |
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... | |
abstract InvokeServiceResponseMessage | InvokeService (InvokeServiceMessage request) |
The client side implementation of the InvokeService service contract. More... | |
abstract IAsyncResult | BeginInvokeService (InvokeServiceMessage request, AsyncCallback callback, object asyncState) |
The client side implementation of the BeginInvokeService service contract. More... | |
abstract InvokeServiceResponseMessage | EndInvokeService (IAsyncResult result) |
The client side implementation of the EndInvokeService service contract. More... | |
StatusException | HandleSoapFault (System.ServiceModel.FaultException< ServiceFault > exception) |
Converts a FaultException into a StatusException. More... | |
Static Public Member Functions | |
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... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
Properties | |
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... | |
A base class for WCF channel objects used access UA interfaces
|
inline |
Initializes the object with the specified binding and endpoint address.
|
pure virtual |
The client side implementation of the BeginInvokeService service contract.
Implements UnifiedAutomation.UaBase.IChannelBase.
Implemented in UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.
|
inline |
Begins an asynchronous operation to send a request over the secure channel.
Implements UnifiedAutomation.UaBase.ITransportChannel.
|
inline |
Closes the secure channel.
Implements UnifiedAutomation.UaBase.ITransportChannel.
|
inline |
Closes the channel with the server.
|
inlinestatic |
Creates a new UA-binary transport channel if requested. Null otherwise.
application | The application. |
description | The description for the endpoint. |
configuration | The application configuration. |
context | The request context. |
threadPool | The thread pool. |
|
inline |
Frees any unmanaged resources.
|
inlineprotectedvirtual |
An overrideable version of the Dispose.
Reimplemented in UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.
|
pure virtual |
The client side implementation of the EndInvokeService service contract.
Implements UnifiedAutomation.UaBase.IChannelBase.
Implemented in UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.
|
inline |
Completes an asynchronous operation to send a request over the secure channel.
Implements UnifiedAutomation.UaBase.ITransportChannel.
|
inline |
Converts a FaultException into a StatusException.
|
inline |
Initializes a secure channel with the endpoint identified by the URL.
url | The URL for the endpoint. |
settings | The settings to use when creating the channel. |
StatusException | Thrown if any communication error occurs. |
Implements UnifiedAutomation.UaBase.ITransportChannel.
|
pure virtual |
The client side implementation of the InvokeService service contract.
Implements UnifiedAutomation.UaBase.IChannelBase.
Implemented in UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.
|
inline |
Opens the channel with the server.
|
inline |
Sends a request over the secure channel.
Implements UnifiedAutomation.UaBase.ITransportChannel.
|
get |
Gets the configuration for the channel.
|
get |
Gets the description for the endpoint used by the channel.
|
get |
Gets the context used when serializing messages exchanged via the channel.
|
getset |
Gets or sets the default timeout for requests send via the channel.
|
getset |
Gets a value indicating that the binary encoding should be used with this channe.