A base class for UA endpoints.
More...
Inherits UnifiedAutomation.UaBase.IEndpointBase, and UnifiedAutomation.UaBase.ITransportListenerCallback.
Inherited by UnifiedAutomation.UaBase.DiscoveryEndpoint, and UnifiedAutomation.UaBase.SessionEndpoint.
A base class for UA endpoints.
UnifiedAutomation.UaBase.EndpointBase.EndpointBase |
( |
| ) |
|
|
inlineprotected |
Initializes the object when it is created by the WCF framework.
UnifiedAutomation.UaBase.EndpointBase.EndpointBase |
( |
ServerBase |
server | ) |
|
|
inlineprotected |
Initializes the endpoint with a server instead of a host.
virtual IAsyncResult UnifiedAutomation.UaBase.EndpointBase.BeginInvokeService |
( |
InvokeServiceMessage |
message, |
|
|
AsyncCallback |
callack, |
|
|
object |
callbackData |
|
) |
| |
|
inlinevirtual |
IAsyncResult UnifiedAutomation.UaBase.EndpointBase.BeginProcessRequest |
( |
string |
channeId, |
|
|
EndpointDescription |
endpointDescription, |
|
|
IServiceRequest |
request, |
|
|
AsyncCallback |
callback, |
|
|
object |
callbackData |
|
) |
| |
|
inline |
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
Implements UnifiedAutomation.UaBase.ITransportListenerCallback.
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 |
|
) |
| |
|
inlinestaticprotected |
Creates a fault message.
- Parameters
-
request | The request. |
exception | The exception. |
- Returns
- A fault message.
IServiceResponse UnifiedAutomation.UaBase.EndpointBase.EndProcessRequest |
( |
IAsyncResult |
result | ) |
|
|
inline |
Finds the service identified by the request type.
Find the endpoint description for the endpoint.
static IServiceHostBase UnifiedAutomation.UaBase.EndpointBase.GetHostForContext |
( |
| ) |
|
|
inlinestaticprotected |
Returns the host associated with the current context.
- Returns
- The host associated with the current context.
IServerBase UnifiedAutomation.UaBase.EndpointBase.GetServerForContext |
( |
| ) |
|
|
inlineprotected |
Gets the server object from the operation context.
- Returns
- The server object from the operation context.
A delegate used to dispatch incoming service requests.
virtual void UnifiedAutomation.UaBase.EndpointBase.OnRequestReceived |
( |
IServiceRequest |
request | ) |
|
|
inlineprotectedvirtual |
Called when a new request is received by the endpoint.
- Parameters
-
virtual void UnifiedAutomation.UaBase.EndpointBase.OnResponseFaultSent |
( |
Exception |
fault | ) |
|
|
inlineprotectedvirtual |
Called when a response fault sent via the endpoint.
- Parameters
-
virtual void UnifiedAutomation.UaBase.EndpointBase.OnResponseSent |
( |
IServiceResponse |
response | ) |
|
|
inlineprotectedvirtual |
Called when a response sent via the endpoint.
- Parameters
-
Dispatches an incoming binary encoded request.
- Parameters
-
incoming | Incoming request. |
void UnifiedAutomation.UaBase.EndpointBase.SetRequestContext |
( |
RequestEncoding |
encoding | ) |
|
|
inlineprotected |
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