C# Класс Opc.Ua.Bindings.CustomTransportChannel

Wraps the CustomTransportChannel and provides an ITransportChannel implementation.
Наследование: ITransportChannel
Показать файл Открыть проект

Открытые методы

Метод Описание
BeginClose ( AsyncCallback callback, object callbackData ) : IAsyncResult

Begins an asynchronous operation to close the secure channel.

BeginOpen ( AsyncCallback callback, object callbackData ) : IAsyncResult

Begins an asynchronous operation to open a secure channel with the endpoint identified by the URL.

BeginReconnect ( AsyncCallback callback, object callbackData ) : IAsyncResult

Begins an asynchronous operation to close the existing secure channel and open a new one.

BeginSendRequest ( IServiceRequest request, AsyncCallback callback, object callbackData ) : IAsyncResult

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

Close ( ) : void

Closes the secure channel.

Dispose ( ) : void

Frees any unmanaged resources.

EndClose ( IAsyncResult result ) : void

Completes an asynchronous operation to close the secure channel.

EndOpen ( IAsyncResult result ) : void

Completes an asynchronous operation to open a secure channel.

EndReconnect ( IAsyncResult result ) : void

Completes an asynchronous operation to close the existing secure channel and open a new one.

EndSendRequest ( IAsyncResult result ) : IServiceResponse

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

Initialize ( Uri url, TransportChannelSettings settings ) : void

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

Open ( ) : void

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

Reconnect ( ) : void

Closes any existing secure channel and opens a new one.

Calling this method will cause outstanding requests over the current secure channel to fail.

SendRequest ( IServiceRequest request ) : IServiceResponse

Sends a request over the secure channel.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Приватные методы

Метод Описание
OpenOnDemand ( ) : void

Opens the channel before sending the request.

SaveSettings ( Uri url, TransportChannelSettings settings ) : void

Saves the settings so the channel can be opened later.

Описание методов

BeginClose() публичный Метод

Begins an asynchronous operation to close the secure channel.
Thrown if any communication error occurs.
public BeginClose ( AsyncCallback callback, object callbackData ) : IAsyncResult
callback AsyncCallback The callback to call when the operation completes.
callbackData object The callback data to return with the callback.
Результат IAsyncResult

BeginOpen() публичный Метод

Begins an asynchronous operation to open a secure channel with the endpoint identified by the URL.
Thrown if any communication error occurs.
public BeginOpen ( AsyncCallback callback, object callbackData ) : IAsyncResult
callback AsyncCallback The callback to call when the operation completes.
callbackData object The callback data to return with the callback.
Результат IAsyncResult

BeginReconnect() публичный Метод

Begins an asynchronous operation to close the existing secure channel and open a new one.
Thrown if any communication error occurs.
public BeginReconnect ( AsyncCallback callback, object callbackData ) : IAsyncResult
callback AsyncCallback The callback to call when the operation completes.
callbackData object The callback data to return with the callback.
Результат IAsyncResult

BeginSendRequest() публичный Метод

Begins an asynchronous operation to send a request over the secure channel.
Thrown if any communication error occurs.
public BeginSendRequest ( IServiceRequest request, AsyncCallback callback, object callbackData ) : IAsyncResult
request IServiceRequest The request to send.
callback AsyncCallback The callback to call when the operation completes.
callbackData object The callback data to return with the callback.
Результат IAsyncResult

Close() публичный Метод

Closes the secure channel.
Thrown if any communication error occurs.
public Close ( ) : void
Результат void

Dispose() публичный Метод

Frees any unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EndClose() публичный Метод

Completes an asynchronous operation to close the secure channel.
Thrown if any communication error occurs.
public EndClose ( IAsyncResult result ) : void
result IAsyncResult The result returned from the BeginClose call.
Результат void

EndOpen() публичный Метод

Completes an asynchronous operation to open a secure channel.
Thrown if any communication error occurs.
public EndOpen ( IAsyncResult result ) : void
result IAsyncResult The result returned from the BeginOpen call.
Результат void

EndReconnect() публичный Метод

Completes an asynchronous operation to close the existing secure channel and open a new one.
Thrown if any communication error occurs.
public EndReconnect ( IAsyncResult result ) : void
result IAsyncResult The result returned from the BeginReconnect call.
Результат void

EndSendRequest() публичный Метод

Completes an asynchronous operation to send a request over the secure channel.
Thrown if any communication error occurs.
public EndSendRequest ( IAsyncResult result ) : IServiceResponse
result IAsyncResult The result returned from the BeginSendRequest call.
Результат IServiceResponse

Initialize() публичный Метод

Initializes a secure channel with the endpoint identified by the URL.
Thrown if any communication error occurs.
public Initialize ( Uri url, TransportChannelSettings settings ) : void
url System.Uri The URL for the endpoint.
settings TransportChannelSettings The settings to use when creating the channel.
Результат void

Open() публичный Метод

Opens a secure channel with the endpoint identified by the URL.
Thrown if any communication error occurs.
public Open ( ) : void
Результат void

Reconnect() публичный Метод

Closes any existing secure channel and opens a new one.
Calling this method will cause outstanding requests over the current secure channel to fail.
Thrown if any communication error occurs.
public Reconnect ( ) : void
Результат void

SendRequest() публичный Метод

Sends a request over the secure channel.
Thrown if any communication error occurs.
public SendRequest ( IServiceRequest request ) : IServiceResponse
request IServiceRequest The request to send.
Результат IServiceResponse