.NET Based OPC UA Client/Server SDK  3.0.10.493
UnifiedAutomation.UaBase.EndpointBase Class Reference

A base class for UA endpoints. More...

Inherited by UnifiedAutomation.UaBase.SessionEndpoint.

Classes

class  ServiceDefinition
 Stores the definition of a service supported by the server. More...
 

Public Member Functions

virtual IServiceResponse ProcessRequest (IServiceRequest incoming)
 Dispatches an incoming binary encoded request. More...
 

Static Public Member Functions

static ServiceFault CreateFault (IServiceRequest request, Exception exception)
 Creates a fault message. More...
 

Protected Member Functions

 EndpointBase (ServerBase server)
 Initializes the endpoint with a server instead of a host. More...
 
ServiceDefinition FindService (ExpandedNodeId requestTypeId)
 Finds the service identified by the request type. More...
 
void SetRequestContext (RequestEncoding encoding)
 Sets the request context for the thread. More...
 
virtual void OnRequestReceived (IServiceRequest request)
 Called when a new request is received by the endpoint. More...
 
virtual void OnResponseSent (IServiceResponse response)
 Called when a response sent via the endpoint. More...
 
delegate IServiceResponse InvokeServiceEventHandler (IServiceRequest request)
 A delegate used to dispatch incoming service requests. More...
 

Properties

IServerBase Server [get]
 
SortedList< ExpandedNodeId,
ServiceDefinition
SupportedServices [get, set]
 The types known to the server. More...
 

Detailed Description

A base class for UA endpoints.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.EndpointBase.EndpointBase ( ServerBase  server)
inlineprotected

Initializes the endpoint with a server instead of a host.

Member Function Documentation

static ServiceFault UnifiedAutomation.UaBase.EndpointBase.CreateFault ( IServiceRequest  request,
Exception  exception 
)
inlinestatic

Creates a fault message.

Parameters
requestThe request.
exceptionThe exception.
Returns
A fault message.
ServiceDefinition UnifiedAutomation.UaBase.EndpointBase.FindService ( ExpandedNodeId  requestTypeId)
inlineprotected

Finds the service identified by the request type.

delegate IServiceResponse UnifiedAutomation.UaBase.EndpointBase.InvokeServiceEventHandler ( IServiceRequest  request)
protected

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
requestThe request.
virtual void UnifiedAutomation.UaBase.EndpointBase.OnResponseSent ( IServiceResponse  response)
inlineprotectedvirtual

Called when a response sent via the endpoint.

Parameters
responseThe response.
virtual IServiceResponse UnifiedAutomation.UaBase.EndpointBase.ProcessRequest ( IServiceRequest  incoming)
inlinevirtual

Dispatches an incoming binary encoded request.

Parameters
incomingIncoming request.
void UnifiedAutomation.UaBase.EndpointBase.SetRequestContext ( RequestEncoding  encoding)
inlineprotected

Sets the request context for the thread.

Parameters
encodingThe encoding.

Property Documentation

SortedList<ExpandedNodeId,ServiceDefinition> UnifiedAutomation.UaBase.EndpointBase.SupportedServices
getsetprotected

The types known to the server.


The documentation for this class was generated from the following file: