A base class for UA endpoints.
More...
Inherits UnifiedAutomation.UaBase.IEndpointBase, and UnifiedAutomation.UaBase.ITransportListenerCallback.
Inherited by UnifiedAutomation.UaBase.DiscoveryEndpoint, and UnifiedAutomation.UaBase.SessionEndpoint.
|
IAsyncResult | BeginProcessRequest (string channeId, EndpointDescription endpointDescription, IServiceRequest request, AsyncCallback callback, object callbackData) |
| Begins processing a request received via a binary encoded channel.
|
|
IServiceResponse | EndProcessRequest (IAsyncResult result) |
| Ends processing a request received via a binary encoded channel.
|
|
virtual IServiceResponse | ProcessRequest (IServiceRequest incoming) |
| Dispatches an incoming binary encoded request.
|
|
virtual IAsyncResult | BeginInvokeService (InvokeServiceMessage message, AsyncCallback callack, object callbackData) |
| Dispatches an incoming binary encoded request.
|
|
virtual
InvokeServiceResponseMessage | EndInvokeService (IAsyncResult ar) |
| Dispatches an incoming binary encoded request.
|
|
IAsyncResult | BeginInvokeService (InvokeServiceMessage request, AsyncCallback callback, object asyncState) |
| The operation contract for the InvokeService service.
|
|
InvokeServiceResponseMessage | EndInvokeService (IAsyncResult result) |
| The method used to retrieve the results of a InvokeService service request.
|
|
IAsyncResult | BeginProcessRequest (string channeId, EndpointDescription endpointDescription, IServiceRequest request, AsyncCallback callback, object callbackData) |
| Begins processing a request received via a binary encoded channel.
|
|
IServiceResponse | EndProcessRequest (IAsyncResult result) |
| Ends processing a request received via a binary encoded channel.
|
|
A base class for UA endpoints.
UnifiedAutomation.UaBase.EndpointBase.EndpointBase |
( |
| ) |
|
|
protected |
Initializes the object when it is created by the WCF framework.
UnifiedAutomation.UaBase.EndpointBase.EndpointBase |
( |
ServerBase |
server | ) |
|
|
protected |
Initializes the endpoint with a server instead of a host.
virtual IAsyncResult UnifiedAutomation.UaBase.EndpointBase.BeginInvokeService |
( |
InvokeServiceMessage |
message, |
|
|
AsyncCallback |
callack, |
|
|
object |
callbackData |
|
) |
| |
|
virtual |
Dispatches an incoming binary encoded request.
IAsyncResult UnifiedAutomation.UaBase.EndpointBase.BeginProcessRequest |
( |
string |
channeId, |
|
|
EndpointDescription |
endpointDescription, |
|
|
IServiceRequest |
request, |
|
|
AsyncCallback |
callback, |
|
|
object |
callbackData |
|
) |
| |
Begins processing a request received via a binary encoded channel.
- Parameters
-
channeId | A unique identifier for the secure channel which is the source of the request. |
endpointDescription | The description of the endpoint which the secure channel is using. |
request | The incoming request. |
callback | The callback. |
callbackData | The callback data. |
- Returns
- The result which must be passed to the EndProcessRequest method.
- See Also
- EndProcessRequest, ITransportListener
Creates a fault message.
- Parameters
-
request | The request. |
exception | The exception. |
- Returns
- A fault message.
static Exception UnifiedAutomation.UaBase.EndpointBase.CreateSoapFault |
( |
IServiceRequest |
request, |
|
|
Exception |
exception |
|
) |
| |
|
staticprotected |
Creates a fault message.
- Parameters
-
request | The request. |
exception | The exception. |
- Returns
- A fault message.
Dispatches an incoming binary encoded request.
- Parameters
-
- Returns
IServiceResponse UnifiedAutomation.UaBase.EndpointBase.EndProcessRequest |
( |
IAsyncResult |
result | ) |
|
Ends processing a request received via a binary encoded channel.
- Parameters
-
result | The result returned by the BeginProcessRequest method. |
- Returns
- The response to return over the secure channel.
- See Also
- BeginProcessRequest
Finds the service identified by the request type.
Find the endpoint description for the endpoint.
static IServiceHostBase UnifiedAutomation.UaBase.EndpointBase.GetHostForContext |
( |
| ) |
|
|
staticprotected |
Returns the host associated with the current context.
- Returns
- The host associated with the current context.
IServerBase UnifiedAutomation.UaBase.EndpointBase.GetServerForContext |
( |
| ) |
|
|
protected |
Gets the server object from the operation context.
- Returns
- The server object from the operation context.
A delegate used to dispatch incoming service requests.
Dispatches an incoming binary encoded request.
- Parameters
-
incoming | Incoming request. |
void UnifiedAutomation.UaBase.EndpointBase.SetRequestContext |
( |
RequestEncoding |
encoding | ) |
|
|
protected |
Sets the request context for the thread.
- Parameters
-
Returns the description for the endpoint
The endpoint description.
Returns the host associated with the current context.
The host associated with the current context.
StatusCode UnifiedAutomation.UaBase.EndpointBase.ServerError |
|
getsetprotected |
The types known to the server.
The server error.
IServerBase UnifiedAutomation.UaBase.EndpointBase.ServerForContext |
|
getprotected |
Gets the server object from the operation context.
The server object from the operation context.
The types known to the server.
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaBase/Wcf/EndpointBase.cs