C# 클래스 Opc.Ua.WcfChannelBase

A base class for WCF channel objects used access UA interfaces
상속: IChannelBase, ITransportChannel
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
g_CustomTransportChannel ITransportChannelFactory

공개 메소드들

메소드 설명
BeginClose ( AsyncCallback callback, object callbackData ) : IAsyncResult

Begins an asynchronous operation to close the secure channel.

BeginInvokeService ( InvokeServiceMessage request, AsyncCallback callback, object asyncState ) : IAsyncResult

The client side implementation of the BeginInvokeService service contract.

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 any existing secure channel.

CloseChannel ( ) : void

Closes the channel with the server.

CreateUaBinaryChannel ( ApplicationConfiguration configuration, EndpointDescription description, EndpointConfiguration endpointConfiguration, X509Certificate2 clientCertificate, ServiceMessageContext messageContext ) : ITransportChannel

Creates a new UA-binary transport channel if requested. Null otherwise.

Dispose ( ) : void

Frees any unmanaged resources.

EndClose ( IAsyncResult result ) : void

Completes an asynchronous operation to close a communication object.

EndInvokeService ( IAsyncResult result ) : InvokeServiceResponseMessage

The client side implementation of the EndInvokeService service contract.

EndOpen ( IAsyncResult result ) : void

Completes an asynchronous operation to open a communication object.

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.

HandleSoapFault ( System exception ) : ServiceResultException

Converts a FaultException into a ServiceResultException.

Initialize ( Uri url, TransportChannelSettings settings ) : void

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

InvokeService ( InvokeServiceMessage request ) : InvokeServiceResponseMessage

The client side implementation of the InvokeService service contract.

Open ( ) : void

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

OpenChannel ( ) : void

Opens the channel with the server.

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.

ScheduleOutgoingRequest ( IChannelOutgoingRequest request ) : void

Schedules an outgoing request.

SendRequest ( IServiceRequest request ) : IServiceResponse

Sends a request over the secure channel.

WcfChannelBase ( ) : System

Initializes the object with the specified binding and endpoint address.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

OnSendRequest ( object state ) : void

Processes the request.

비공개 메소드들

메소드 설명
InnerChannel_Opened ( object sender, EventArgs e ) : void

Handles the Opened event of the InnerChannel control.

메소드 상세

BeginClose() 공개 메소드

Begins an asynchronous operation to close the secure channel.
public BeginClose ( AsyncCallback callback, object callbackData ) : IAsyncResult
callback AsyncCallback
callbackData object
리턴 IAsyncResult

BeginInvokeService() 공개 추상적인 메소드

The client side implementation of the BeginInvokeService service contract.
public abstract BeginInvokeService ( InvokeServiceMessage request, AsyncCallback callback, object asyncState ) : IAsyncResult
request InvokeServiceMessage
callback AsyncCallback
asyncState object
리턴 IAsyncResult

BeginOpen() 공개 메소드

Begins an asynchronous operation to open a secure channel with the endpoint identified by the URL.
public BeginOpen ( AsyncCallback callback, object callbackData ) : IAsyncResult
callback AsyncCallback
callbackData object
리턴 IAsyncResult

BeginReconnect() 공개 메소드

Begins an asynchronous operation to close the existing secure channel and open a new one.
public BeginReconnect ( AsyncCallback callback, object callbackData ) : IAsyncResult
callback AsyncCallback
callbackData object
리턴 IAsyncResult

BeginSendRequest() 공개 메소드

Begins an asynchronous operation to send a request over the secure channel.
public BeginSendRequest ( IServiceRequest request, AsyncCallback callback, object callbackData ) : IAsyncResult
request IServiceRequest
callback AsyncCallback
callbackData object
리턴 IAsyncResult

Close() 공개 메소드

Closes any existing secure channel.
public Close ( ) : void
리턴 void

CloseChannel() 공개 메소드

Closes the channel with the server.
public CloseChannel ( ) : void
리턴 void

CreateUaBinaryChannel() 공개 정적인 메소드

Creates a new UA-binary transport channel if requested. Null otherwise.
public static CreateUaBinaryChannel ( ApplicationConfiguration configuration, EndpointDescription description, EndpointConfiguration endpointConfiguration, X509Certificate2 clientCertificate, ServiceMessageContext messageContext ) : ITransportChannel
configuration ApplicationConfiguration The application configuration.
description EndpointDescription The description for the endpoint.
endpointConfiguration EndpointConfiguration The configuration to use with the endpoint.
clientCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 The client certificate.
messageContext ServiceMessageContext The message context to use when serializing the messages.
리턴 ITransportChannel

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 a communication object.
public EndClose ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

EndInvokeService() 공개 추상적인 메소드

The client side implementation of the EndInvokeService service contract.
public abstract EndInvokeService ( IAsyncResult result ) : InvokeServiceResponseMessage
result IAsyncResult
리턴 InvokeServiceResponseMessage

EndOpen() 공개 메소드

Completes an asynchronous operation to open a communication object.
public EndOpen ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

EndReconnect() 공개 메소드

Completes an asynchronous operation to close the existing secure channel and open a new one.
public EndReconnect ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

EndSendRequest() 공개 메소드

Completes an asynchronous operation to send a request over the secure channel.
public EndSendRequest ( IAsyncResult result ) : IServiceResponse
result IAsyncResult
리턴 IServiceResponse

HandleSoapFault() 공개 메소드

Converts a FaultException into a ServiceResultException.
public HandleSoapFault ( System exception ) : ServiceResultException
exception System
리턴 ServiceResultException

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

InvokeService() 공개 추상적인 메소드

The client side implementation of the InvokeService service contract.
public abstract InvokeService ( InvokeServiceMessage request ) : InvokeServiceResponseMessage
request InvokeServiceMessage
리턴 InvokeServiceResponseMessage

OnSendRequest() 보호된 메소드

Processes the request.
protected OnSendRequest ( object state ) : void
state object IChannelOutgoingRequest object passed to the ScheduleOutgoingRequest method.
리턴 void

Open() 공개 메소드

Opens a secure channel with the endpoint identified by the URL.
public Open ( ) : void
리턴 void

OpenChannel() 공개 메소드

Opens the channel with the server.
public OpenChannel ( ) : 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 abstract Reconnect ( ) : void
리턴 void

ScheduleOutgoingRequest() 공개 메소드

Schedules an outgoing request.
public ScheduleOutgoingRequest ( IChannelOutgoingRequest request ) : void
request IChannelOutgoingRequest The request.
리턴 void

SendRequest() 공개 메소드

Sends a request over the secure channel.
public SendRequest ( IServiceRequest request ) : IServiceResponse
request IServiceRequest
리턴 IServiceResponse

WcfChannelBase() 공개 메소드

Initializes the object with the specified binding and endpoint address.
public WcfChannelBase ( ) : System
리턴 System

프로퍼티 상세

g_CustomTransportChannel 공개적으로 정적으로 프로퍼티

public static ITransportChannelFactory g_CustomTransportChannel
리턴 ITransportChannelFactory