.NET Based OPC UA Client/Server SDK
2.5.7.406
|
An async result object that wraps the WCF channel. More...
Inherits UnifiedAutomation.UaBase.WcfChannelBase< TChannel >.
Public Member Functions | |
WcfChannelAsyncResult (TChannel channel, AsyncCallback callback, object callbackData) | |
Initializes a new instance of the WcfChannelAsyncResult class. More... | |
void | OnOperationCompleted (IAsyncResult ar) |
Called when asynchronous operation completes. More... | |
Public Member Functions inherited from UnifiedAutomation.UaBase.WcfChannelBase< TChannel > | |
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... | |
Static Public Member Functions | |
static new WcfChannelAsyncResult | WaitForComplete (IAsyncResult ar) |
Checks for a valid IAsyncResult object and waits for the operation to complete. More... | |
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... | |
Properties | |
TChannel | Channel [get] |
Gets the wrapped channel. More... | |
Properties inherited from UnifiedAutomation.UaBase.WcfChannelBase< TChannel > | |
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 | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.WcfChannelBase< TChannel > | |
override void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
An async result object that wraps the WCF channel.
|
inline |
Initializes a new instance of the WcfChannelAsyncResult class.
channel | The channel. |
callback | The callback. |
callbackData | The callback data. |
|
inline |
Called when asynchronous operation completes.
ar | The asynchronous result object. |
|
inlinestatic |
Checks for a valid IAsyncResult object and waits for the operation to complete.
ar | The IAsyncResult object for the operation. |
|
get |
Gets the wrapped channel.
The wrapped channel.