.NET Based OPC UA Client/Server SDK  2.6.0.418
UnifiedAutomation.UaBase.DiscoveryEndpoint Class Reference

A endpoint object used by clients to access a UA service. More...

Inherits UnifiedAutomation.UaBase.EndpointBase, UnifiedAutomation.UaBase.IDiscoveryEndpoint, and UnifiedAutomation.UaBase.IRegistrationEndpoint.

Public Member Functions

 DiscoveryEndpoint ()
 Initializes the object when it is created by the WCF framework. More...
 
 DiscoveryEndpoint (ServerBase server)
 Initializes a new instance of the DiscoveryEndpoint class. More...
 
IServiceResponse FindServers (IServiceRequest incoming)
 Invokes the FindServers service. More...
 
virtual IAsyncResult BeginFindServers (FindServersMessage message, AsyncCallback callback, object callbackData)
 Asynchronously calls the FindServers service. More...
 
virtual FindServersResponseMessage EndFindServers (IAsyncResult ar)
 Waits for an asynchronous call to the FindServers service to complete. More...
 
IServiceResponse FindServersOnNetwork (IServiceRequest incoming)
 Invokes the FindServersOnNetwork service. More...
 
virtual IAsyncResult BeginFindServersOnNetwork (FindServersOnNetworkMessage message, AsyncCallback callback, object callbackData)
 Asynchronously calls the FindServersOnNetwork service. More...
 
virtual
FindServersOnNetworkResponseMessage 
EndFindServersOnNetwork (IAsyncResult ar)
 Waits for an asynchronous call to the FindServersOnNetwork service to complete. More...
 
IServiceResponse GetEndpoints (IServiceRequest incoming)
 Invokes the GetEndpoints service. More...
 
virtual IAsyncResult BeginGetEndpoints (GetEndpointsMessage message, AsyncCallback callback, object callbackData)
 Asynchronously calls the GetEndpoints service. More...
 
virtual GetEndpointsResponseMessage EndGetEndpoints (IAsyncResult ar)
 Waits for an asynchronous call to the GetEndpoints service to complete. More...
 
IServiceResponse RegisterServer (IServiceRequest incoming)
 Invokes the RegisterServer service. More...
 
virtual IAsyncResult BeginRegisterServer (RegisterServerMessage message, AsyncCallback callback, object callbackData)
 Asynchronously calls the RegisterServer service. More...
 
virtual
RegisterServerResponseMessage 
EndRegisterServer (IAsyncResult ar)
 Waits for an asynchronous call to the RegisterServer service to complete. More...
 
IServiceResponse RegisterServer2 (IServiceRequest incoming)
 Invokes the RegisterServer2 service. More...
 
virtual IAsyncResult BeginRegisterServer2 (RegisterServer2Message message, AsyncCallback callback, object callbackData)
 Asynchronously calls the RegisterServer2 service. More...
 
virtual
RegisterServer2ResponseMessage 
EndRegisterServer2 (IAsyncResult ar)
 Waits for an asynchronous call to the RegisterServer2 service to complete. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.EndpointBase
IAsyncResult BeginProcessRequest (string channeId, EndpointDescription endpointDescription, IServiceRequest request, AsyncCallback callback, object callbackData)
 Begins processing a request received via a binary encoded channel. More...
 
IServiceResponse EndProcessRequest (IAsyncResult result)
 Ends processing a request received via a binary encoded channel. More...
 
virtual IServiceResponse ProcessRequest (IServiceRequest incoming)
 Dispatches an incoming binary encoded request. More...
 
virtual IAsyncResult BeginInvokeService (InvokeServiceMessage message, AsyncCallback callack, object callbackData)
 Dispatches an incoming binary encoded request. More...
 
virtual
InvokeServiceResponseMessage 
EndInvokeService (IAsyncResult ar)
 Dispatches an incoming binary encoded request. More...
 

Protected Member Functions

virtual void CreateKnownTypes ()
 Populates the known types table. More...
 
- Protected Member Functions inherited from UnifiedAutomation.UaBase.EndpointBase
 EndpointBase ()
 Initializes the object when it is created by the WCF framework. More...
 
 EndpointBase (ServerBase server)
 Initializes the endpoint with a server instead of a host. More...
 
IServerBase GetServerForContext ()
 Gets the server object from the operation context. More...
 
EndpointDescription GetEndpointDescription ()
 Find the endpoint description for the endpoint. 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...
 
virtual void OnResponseFaultSent (Exception fault)
 Called when a response fault sent via the endpoint. More...
 
delegate IServiceResponse InvokeServiceEventHandler (IServiceRequest request)
 A delegate used to dispatch incoming service requests. More...
 

Properties

IDiscoveryServer ServerInstance [get]
 The UA server instance that the endpoint is connected to. More...
 
- Properties inherited from UnifiedAutomation.UaBase.EndpointBase
IServiceHostBase HostForContext [get]
 Returns the host associated with the current context. More...
 
IServerBase ServerForContext [get]
 Gets the server object from the operation context. More...
 
EndpointDescription EndpointDescription [get, set]
 Returns the description for the endpoint More...
 
StatusCode ServerError [get, set]
 The types known to the server. More...
 
SortedList< ExpandedNodeId,
ServiceDefinition
SupportedServices [get, set]
 The types known to the server. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from UnifiedAutomation.UaBase.EndpointBase
static IServiceHostBase GetHostForContext ()
 Returns the host associated with the current context. More...
 
static ServiceFault CreateFault (IServiceRequest request, Exception exception)
 Creates a fault message. More...
 
static Exception CreateSoapFault (IServiceRequest request, Exception exception)
 Creates a fault message. More...
 

Detailed Description

A endpoint object used by clients to access a UA service.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.DiscoveryEndpoint.DiscoveryEndpoint ( )
inline

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

UnifiedAutomation.UaBase.DiscoveryEndpoint.DiscoveryEndpoint ( ServerBase  server)
inline

Initializes a new instance of the DiscoveryEndpoint class.

Parameters
serverThe server.

Member Function Documentation

virtual IAsyncResult UnifiedAutomation.UaBase.DiscoveryEndpoint.BeginFindServers ( FindServersMessage  message,
AsyncCallback  callback,
object  callbackData 
)
inlinevirtual

Asynchronously calls the FindServers service.

Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.

virtual IAsyncResult UnifiedAutomation.UaBase.DiscoveryEndpoint.BeginFindServersOnNetwork ( FindServersOnNetworkMessage  message,
AsyncCallback  callback,
object  callbackData 
)
inlinevirtual

Asynchronously calls the FindServersOnNetwork service.

Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.

virtual IAsyncResult UnifiedAutomation.UaBase.DiscoveryEndpoint.BeginGetEndpoints ( GetEndpointsMessage  message,
AsyncCallback  callback,
object  callbackData 
)
inlinevirtual

Asynchronously calls the GetEndpoints service.

Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.

virtual IAsyncResult UnifiedAutomation.UaBase.DiscoveryEndpoint.BeginRegisterServer ( RegisterServerMessage  message,
AsyncCallback  callback,
object  callbackData 
)
inlinevirtual

Asynchronously calls the RegisterServer service.

Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.

virtual IAsyncResult UnifiedAutomation.UaBase.DiscoveryEndpoint.BeginRegisterServer2 ( RegisterServer2Message  message,
AsyncCallback  callback,
object  callbackData 
)
inlinevirtual

Asynchronously calls the RegisterServer2 service.

Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.

virtual void UnifiedAutomation.UaBase.DiscoveryEndpoint.CreateKnownTypes ( )
inlineprotectedvirtual

Populates the known types table.

virtual FindServersResponseMessage UnifiedAutomation.UaBase.DiscoveryEndpoint.EndFindServers ( IAsyncResult  ar)
inlinevirtual

Waits for an asynchronous call to the FindServers service to complete.

Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.

virtual FindServersOnNetworkResponseMessage UnifiedAutomation.UaBase.DiscoveryEndpoint.EndFindServersOnNetwork ( IAsyncResult  ar)
inlinevirtual

Waits for an asynchronous call to the FindServersOnNetwork service to complete.

Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.

virtual GetEndpointsResponseMessage UnifiedAutomation.UaBase.DiscoveryEndpoint.EndGetEndpoints ( IAsyncResult  ar)
inlinevirtual

Waits for an asynchronous call to the GetEndpoints service to complete.

Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.

virtual RegisterServerResponseMessage UnifiedAutomation.UaBase.DiscoveryEndpoint.EndRegisterServer ( IAsyncResult  ar)
inlinevirtual

Waits for an asynchronous call to the RegisterServer service to complete.

Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.

virtual RegisterServer2ResponseMessage UnifiedAutomation.UaBase.DiscoveryEndpoint.EndRegisterServer2 ( IAsyncResult  ar)
inlinevirtual

Waits for an asynchronous call to the RegisterServer2 service to complete.

Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.

IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.FindServers ( IServiceRequest  incoming)
inline

Invokes the FindServers service.

IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.FindServersOnNetwork ( IServiceRequest  incoming)
inline

Invokes the FindServersOnNetwork service.

IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.GetEndpoints ( IServiceRequest  incoming)
inline

Invokes the GetEndpoints service.

IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.RegisterServer ( IServiceRequest  incoming)
inline

Invokes the RegisterServer service.

IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.RegisterServer2 ( IServiceRequest  incoming)
inline

Invokes the RegisterServer2 service.

Property Documentation

IDiscoveryServer UnifiedAutomation.UaBase.DiscoveryEndpoint.ServerInstance
getprotected

The UA server instance that the endpoint is connected to.


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