C# 클래스 Opc.Ua.EndpointBase

A base class for UA endpoints.
상속: IEndpointBase, ITransportListenerCallback
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetHostForContext IServiceHostBase
GetServerForContext IServerBase

공개 메소드들

메소드 설명
BeginInvokeService ( InvokeServiceMessage message, AsyncCallback callack, object callbackData ) : IAsyncResult

Dispatches an incoming binary encoded request.

BeginProcessRequest ( string channeId, EndpointDescription endpointDescription, IServiceRequest request, AsyncCallback callback, object callbackData ) : IAsyncResult

Begins processing a request received via a binary encoded channel.

EndInvokeService ( IAsyncResult ar ) : InvokeServiceResponseMessage

Dispatches an incoming binary encoded request.

EndProcessRequest ( IAsyncResult result ) : IServiceResponse

Ends processing a request received via a binary encoded channel.

InvokeService ( InvokeServiceMessage request ) : InvokeServiceResponseMessage

Dispatches an incoming binary encoded request.

ProcessRequest ( IServiceRequest incoming ) : IServiceResponse

Dispatches an incoming binary encoded request.

보호된 메소드들

메소드 설명
CreateFault ( IServiceRequest request, Exception exception ) : ServiceFault

Creates a fault message.

CreateSoapFault ( IServiceRequest request, Exception exception ) : Exception

Creates a fault message.

EndpointBase ( ) : System

Initializes the object when it is created by the WCF framework.

EndpointBase ( IServiceHostBase host ) : System

Initializes the when it is created directly.

EndpointBase ( ServerBase server ) : System

Initializes the endpoint with a server instead of a host.

FindService ( Opc.Ua.ExpandedNodeId requestTypeId ) : ServiceDefinition

Finds the service identified by the request type.

GetEndpointDescription ( ) : EndpointDescription

Find the endpoint description for the endpoint.

OnRequestReceived ( IServiceRequest request ) : void

Called when a new request is received by the endpoint.

OnResponseFaultSent ( Exception fault ) : void

Called when a response fault sent via the endpoint.

OnResponseSent ( IServiceResponse response ) : void

Called when a response sent via the endpoint.

SetRequestContext ( RequestEncoding encoding ) : void

Sets the request context for the thread.

비공개 메소드들

메소드 설명
GetHostForContext ( ) : IServiceHostBase
GetServerForContext ( ) : IServerBase

메소드 상세

BeginInvokeService() 공개 메소드

Dispatches an incoming binary encoded request.
public BeginInvokeService ( InvokeServiceMessage message, AsyncCallback callack, object callbackData ) : IAsyncResult
message InvokeServiceMessage
callack AsyncCallback
callbackData object
리턴 IAsyncResult

BeginProcessRequest() 공개 메소드

Begins processing a request received via a binary encoded channel.
public BeginProcessRequest ( string channeId, EndpointDescription endpointDescription, IServiceRequest request, AsyncCallback callback, object callbackData ) : IAsyncResult
channeId string A unique identifier for the secure channel which is the source of the request.
endpointDescription EndpointDescription The description of the endpoint which the secure channel is using.
request IServiceRequest The incoming request.
callback AsyncCallback The callback.
callbackData object The callback data.
리턴 IAsyncResult

CreateFault() 보호된 정적인 메소드

Creates a fault message.
protected static CreateFault ( IServiceRequest request, Exception exception ) : ServiceFault
request IServiceRequest The request.
exception System.Exception The exception.
리턴 ServiceFault

CreateSoapFault() 보호된 정적인 메소드

Creates a fault message.
protected static CreateSoapFault ( IServiceRequest request, Exception exception ) : Exception
request IServiceRequest The request.
exception System.Exception The exception.
리턴 System.Exception

EndInvokeService() 공개 메소드

Dispatches an incoming binary encoded request.
public EndInvokeService ( IAsyncResult ar ) : InvokeServiceResponseMessage
ar IAsyncResult The ar.
리턴 InvokeServiceResponseMessage

EndProcessRequest() 공개 메소드

Ends processing a request received via a binary encoded channel.
public EndProcessRequest ( IAsyncResult result ) : IServiceResponse
result IAsyncResult The result returned by the BeginProcessRequest method.
리턴 IServiceResponse

EndpointBase() 보호된 메소드

Initializes the object when it is created by the WCF framework.
protected EndpointBase ( ) : System
리턴 System

EndpointBase() 보호된 메소드

Initializes the when it is created directly.
protected EndpointBase ( IServiceHostBase host ) : System
host IServiceHostBase The host.
리턴 System

EndpointBase() 보호된 메소드

Initializes the endpoint with a server instead of a host.
protected EndpointBase ( ServerBase server ) : System
server ServerBase
리턴 System

FindService() 보호된 메소드

Finds the service identified by the request type.
protected FindService ( Opc.Ua.ExpandedNodeId requestTypeId ) : ServiceDefinition
requestTypeId Opc.Ua.ExpandedNodeId
리턴 ServiceDefinition

GetEndpointDescription() 보호된 메소드

Find the endpoint description for the endpoint.
protected GetEndpointDescription ( ) : EndpointDescription
리턴 EndpointDescription

InvokeService() 공개 메소드

Dispatches an incoming binary encoded request.
public InvokeService ( InvokeServiceMessage request ) : InvokeServiceResponseMessage
request InvokeServiceMessage Request.
리턴 InvokeServiceResponseMessage

OnRequestReceived() 보호된 메소드

Called when a new request is received by the endpoint.
protected OnRequestReceived ( IServiceRequest request ) : void
request IServiceRequest The request.
리턴 void

OnResponseFaultSent() 보호된 메소드

Called when a response fault sent via the endpoint.
protected OnResponseFaultSent ( Exception fault ) : void
fault Exception The fault.
리턴 void

OnResponseSent() 보호된 메소드

Called when a response sent via the endpoint.
protected OnResponseSent ( IServiceResponse response ) : void
response IServiceResponse The response.
리턴 void

ProcessRequest() 공개 메소드

Dispatches an incoming binary encoded request.
public ProcessRequest ( IServiceRequest incoming ) : IServiceResponse
incoming IServiceRequest Incoming request.
리턴 IServiceResponse

SetRequestContext() 보호된 메소드

Sets the request context for the thread.
protected SetRequestContext ( RequestEncoding encoding ) : void
encoding RequestEncoding The encoding.
리턴 void