UA Bundle SDK .NET
2.1.0.222
|
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. | |
DiscoveryEndpoint (ServerBase server) | |
Initializes a new instance of the DiscoveryEndpoint class. | |
IServiceResponse | FindServers (IServiceRequest incoming) |
Invokes the FindServers service. | |
virtual IAsyncResult | BeginFindServers (FindServersMessage message, AsyncCallback callback, object callbackData) |
Asynchronously calls the FindServers service. | |
virtual FindServersResponseMessage | EndFindServers (IAsyncResult ar) |
Waits for an asynchronous call to the FindServers service to complete. | |
IServiceResponse | GetEndpoints (IServiceRequest incoming) |
Invokes the GetEndpoints service. | |
virtual IAsyncResult | BeginGetEndpoints (GetEndpointsMessage message, AsyncCallback callback, object callbackData) |
Asynchronously calls the GetEndpoints service. | |
virtual GetEndpointsResponseMessage | EndGetEndpoints (IAsyncResult ar) |
Waits for an asynchronous call to the GetEndpoints service to complete. | |
IServiceResponse | RegisterServer (IServiceRequest incoming) |
Invokes the RegisterServer service. | |
virtual IAsyncResult | BeginRegisterServer (RegisterServerMessage message, AsyncCallback callback, object callbackData) |
Asynchronously calls the RegisterServer service. | |
virtual RegisterServerResponseMessage | EndRegisterServer (IAsyncResult ar) |
Waits for an asynchronous call to the RegisterServer service to complete. | |
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. | |
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. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.IEndpointBase | |
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. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.ITransportListenerCallback | |
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. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.IDiscoveryEndpoint | |
IAsyncResult | BeginFindServers (FindServersMessage request, AsyncCallback callback, object asyncState) |
The operation contract for the FindServers service. | |
FindServersResponseMessage | EndFindServers (IAsyncResult result) |
The method used to retrieve the results of a FindServers service request. | |
IAsyncResult | BeginGetEndpoints (GetEndpointsMessage request, AsyncCallback callback, object asyncState) |
The operation contract for the GetEndpoints service. | |
GetEndpointsResponseMessage | EndGetEndpoints (IAsyncResult result) |
The method used to retrieve the results of a GetEndpoints service request. | |
Public Member Functions inherited from UnifiedAutomation.UaBase.IRegistrationEndpoint | |
IAsyncResult | BeginRegisterServer (RegisterServerMessage request, AsyncCallback callback, object asyncState) |
The operation contract for the RegisterServer service. | |
RegisterServerResponseMessage | EndRegisterServer (IAsyncResult result) |
The method used to retrieve the results of a RegisterServer service request. | |
Protected Member Functions | |
virtual void | CreateKnownTypes () |
Populates the known types table. | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.EndpointBase | |
EndpointBase () | |
Initializes the object when it is created by the WCF framework. | |
EndpointBase (ServerBase server) | |
Initializes the endpoint with a server instead of a host. | |
IServerBase | GetServerForContext () |
Gets the server object from the operation context. | |
EndpointDescription | GetEndpointDescription () |
Find the endpoint description for the endpoint. | |
ServiceDefinition | FindService (ExpandedNodeId requestTypeId) |
Finds the service identified by the request type. | |
void | SetRequestContext (RequestEncoding encoding) |
Sets the request context for the thread. | |
delegate IServiceResponse | InvokeServiceEventHandler (IServiceRequest request) |
A delegate used to dispatch incoming service requests. | |
Properties | |
IDiscoveryServer | ServerInstance [get] |
The UA server instance that the endpoint is connected to. | |
Properties inherited from UnifiedAutomation.UaBase.EndpointBase | |
IServiceHostBase | HostForContext [get] |
Returns the host associated with the current context. | |
IServerBase | ServerForContext [get] |
Gets the server object from the operation context. | |
EndpointDescription | EndpointDescription [get, set] |
Returns the description for the endpoint | |
StatusCode | ServerError [get, set] |
The types known to the server. | |
SortedList< ExpandedNodeId, ServiceDefinition > | SupportedServices [get, set] |
The types known to the server. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from UnifiedAutomation.UaBase.EndpointBase | |
static IServiceHostBase | GetHostForContext () |
Returns the host associated with the current context. | |
static ServiceFault | CreateFault (IServiceRequest request, Exception exception) |
Creates a fault message. | |
static Exception | CreateSoapFault (IServiceRequest request, Exception exception) |
Creates a fault message. | |
A endpoint object used by clients to access a UA service.
<exclude>
UnifiedAutomation.UaBase.DiscoveryEndpoint.DiscoveryEndpoint | ( | ) |
Initializes the object when it is created by the WCF framework.
UnifiedAutomation.UaBase.DiscoveryEndpoint.DiscoveryEndpoint | ( | ServerBase | server | ) |
Initializes a new instance of the DiscoveryEndpoint class.
server | The server. |
|
virtual |
Asynchronously calls the FindServers service.
|
virtual |
Asynchronously calls the GetEndpoints service.
|
virtual |
Asynchronously calls the RegisterServer service.
|
protectedvirtual |
Populates the known types table.
|
virtual |
Waits for an asynchronous call to the FindServers service to complete.
|
virtual |
Waits for an asynchronous call to the GetEndpoints service to complete.
|
virtual |
Waits for an asynchronous call to the RegisterServer service to complete.
IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.FindServers | ( | IServiceRequest | incoming | ) |
Invokes the FindServers service.
IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.GetEndpoints | ( | IServiceRequest | incoming | ) |
Invokes the GetEndpoints service.
IServiceResponse UnifiedAutomation.UaBase.DiscoveryEndpoint.RegisterServer | ( | IServiceRequest | incoming | ) |
Invokes the RegisterServer service.
|
getprotected |
The UA server instance that the endpoint is connected to.