C# 클래스 Opc.Ua.Bindings.TcpTransportChannel

Wraps the TcpTransportChannel and provides an ITransportChannel implementation.
상속: ITransportChannel
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

공개 메소드들

메소드 설명
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