.NET Based OPC UA Client/Server SDK
2.6.6.478
|
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... | |
A endpoint object used by clients to access a UA service.
|
inline |
Initializes the object when it is created by the WCF framework.
|
inline |
Initializes a new instance of the DiscoveryEndpoint class.
server | The server. |
|
inlinevirtual |
Asynchronously calls the FindServers service.
Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.
|
inlinevirtual |
Asynchronously calls the FindServersOnNetwork service.
Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.
|
inlinevirtual |
Asynchronously calls the GetEndpoints service.
Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.
|
inlinevirtual |
Asynchronously calls the RegisterServer service.
Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.
|
inlinevirtual |
Asynchronously calls the RegisterServer2 service.
Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.
|
inlineprotectedvirtual |
Populates the known types table.
|
inlinevirtual |
Waits for an asynchronous call to the FindServers service to complete.
Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.
|
inlinevirtual |
Waits for an asynchronous call to the FindServersOnNetwork service to complete.
Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.
|
inlinevirtual |
Waits for an asynchronous call to the GetEndpoints service to complete.
Implements UnifiedAutomation.UaBase.IDiscoveryEndpoint.
|
inlinevirtual |
Waits for an asynchronous call to the RegisterServer service to complete.
Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.
|
inlinevirtual |
Waits for an asynchronous call to the RegisterServer2 service to complete.
Implements UnifiedAutomation.UaBase.IRegistrationEndpoint.
|
inline |
Invokes the FindServers service.
|
inline |
Invokes the FindServersOnNetwork service.
|
inline |
Invokes the GetEndpoints service.
|
inline |
Invokes the RegisterServer service.
|
inline |
Invokes the RegisterServer2 service.
|
getprotected |
The UA server instance that the endpoint is connected to.