UA Bundle SDK .NET
2.2.0.255
|
A basic implementation of the UA server. More...
Inherits UnifiedAutomation.UaBase.ServerBase, and UnifiedAutomation.UaBase.ISessionServer.
Inherited by UnifiedAutomation.UaServer.ServerManager.
Public Member Functions | |
virtual ResponseHeader | FindServers (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection serverUris, out ApplicationDescriptionCollection servers) |
Invokes the FindServers service. More... | |
virtual ResponseHeader | GetEndpoints (RequestHeader requestHeader, string endpointUrl, StringCollection localeIds, StringCollection profileUris, out EndpointDescriptionCollection endpoints) |
Invokes the GetEndpoints service. More... | |
virtual ResponseHeader | CreateSession (RequestHeader requestHeader, ApplicationDescription clientDescription, string serverUri, string endpointUrl, string sessionName, byte[] clientNonce, byte[] clientCertificate, double requestedSessionTimeout, uint maxResponseMessageSize, out NodeId sessionId, out NodeId authenticationToken, out double revisedSessionTimeout, out byte[] serverNonce, out byte[] serverCertificate, out EndpointDescriptionCollection serverEndpoints, out SignedSoftwareCertificateCollection serverSoftwareCertificates, out SignatureData serverSignature, out uint maxRequestMessageSize) |
Invokes the CreateSession service. More... | |
virtual ResponseHeader | ActivateSession (RequestHeader requestHeader, SignatureData clientSignature, SignedSoftwareCertificateCollection clientSoftwareCertificates, StringCollection localeIds, ExtensionObject userIdentityToken, SignatureData userTokenSignature, out byte[] serverNonce, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the ActivateSession service. More... | |
virtual ResponseHeader | CloseSession (RequestHeader requestHeader, bool deleteSubscriptions) |
Invokes the CloseSession service. More... | |
virtual ResponseHeader | Cancel (RequestHeader requestHeader, uint requestHandle, out uint cancelCount) |
Invokes the Cancel service. More... | |
virtual ResponseHeader | AddNodes (RequestHeader requestHeader, AddNodesItemCollection nodesToAdd, out AddNodesResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the AddNodes service. More... | |
virtual ResponseHeader | AddReferences (RequestHeader requestHeader, AddReferencesItemCollection referencesToAdd, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the AddReferences service. More... | |
virtual ResponseHeader | DeleteNodes (RequestHeader requestHeader, DeleteNodesItemCollection nodesToDelete, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the DeleteNodes service. More... | |
virtual ResponseHeader | DeleteReferences (RequestHeader requestHeader, DeleteReferencesItemCollection referencesToDelete, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the DeleteReferences service. More... | |
virtual ResponseHeader | Browse (RequestHeader requestHeader, ViewDescription view, uint requestedMaxReferencesPerNode, BrowseDescriptionCollection nodesToBrowse, out BrowseResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Browse service. More... | |
virtual ResponseHeader | BrowseNext (RequestHeader requestHeader, bool releaseContinuationPoints, ByteStringCollection continuationPoints, out BrowseResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the BrowseNext service. More... | |
virtual ResponseHeader | TranslateBrowsePathsToNodeIds (RequestHeader requestHeader, BrowsePathCollection browsePaths, out BrowsePathResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the TranslateBrowsePathsToNodeIds service. More... | |
virtual ResponseHeader | RegisterNodes (RequestHeader requestHeader, NodeIdCollection nodesToRegister, out NodeIdCollection registeredNodeIds) |
Invokes the RegisterNodes service. More... | |
virtual ResponseHeader | UnregisterNodes (RequestHeader requestHeader, NodeIdCollection nodesToUnregister) |
Invokes the UnregisterNodes service. More... | |
virtual ResponseHeader | QueryFirst (RequestHeader requestHeader, ViewDescription view, NodeTypeDescriptionCollection nodeTypes, ContentFilter filter, uint maxDataSetsToReturn, uint maxReferencesToReturn, out QueryDataSetCollection queryDataSets, out byte[] continuationPoint, out ParsingResultCollection parsingResults, out DiagnosticInfoCollection diagnosticInfos, out ContentFilterResult filterResult) |
Invokes the QueryFirst service. More... | |
virtual ResponseHeader | QueryNext (RequestHeader requestHeader, bool releaseContinuationPoint, byte[] continuationPoint, out QueryDataSetCollection queryDataSets, out byte[] revisedContinuationPoint) |
Invokes the QueryNext service. More... | |
virtual ResponseHeader | Read (RequestHeader requestHeader, double maxAge, TimestampsToReturn timestampsToReturn, ReadValueIdCollection nodesToRead, out DataValueCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Read service. More... | |
virtual ResponseHeader | HistoryRead (RequestHeader requestHeader, ExtensionObject historyReadDetails, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueIdCollection nodesToRead, out HistoryReadResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the HistoryRead service. More... | |
virtual ResponseHeader | Write (RequestHeader requestHeader, WriteValueCollection nodesToWrite, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Write service. More... | |
virtual ResponseHeader | HistoryUpdate (RequestHeader requestHeader, ExtensionObjectCollection historyUpdateDetails, out HistoryUpdateResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the HistoryUpdate service. More... | |
virtual ResponseHeader | Call (RequestHeader requestHeader, CallMethodRequestCollection methodsToCall, out CallMethodResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Call service. More... | |
virtual ResponseHeader | CreateMonitoredItems (RequestHeader requestHeader, uint subscriptionId, TimestampsToReturn timestampsToReturn, MonitoredItemCreateRequestCollection itemsToCreate, out MonitoredItemCreateResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the CreateMonitoredItems service. More... | |
virtual ResponseHeader | ModifyMonitoredItems (RequestHeader requestHeader, uint subscriptionId, TimestampsToReturn timestampsToReturn, MonitoredItemModifyRequestCollection itemsToModify, out MonitoredItemModifyResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the ModifyMonitoredItems service. More... | |
virtual ResponseHeader | SetMonitoringMode (RequestHeader requestHeader, uint subscriptionId, MonitoringMode monitoringMode, UInt32Collection monitoredItemIds, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the SetMonitoringMode service. More... | |
virtual ResponseHeader | SetTriggering (RequestHeader requestHeader, uint subscriptionId, uint triggeringItemId, UInt32Collection linksToAdd, UInt32Collection linksToRemove, out StatusCodeCollection addResults, out DiagnosticInfoCollection addDiagnosticInfos, out StatusCodeCollection removeResults, out DiagnosticInfoCollection removeDiagnosticInfos) |
Invokes the SetTriggering service. More... | |
virtual ResponseHeader | DeleteMonitoredItems (RequestHeader requestHeader, uint subscriptionId, UInt32Collection monitoredItemIds, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the DeleteMonitoredItems service. More... | |
virtual ResponseHeader | CreateSubscription (RequestHeader requestHeader, double requestedPublishingInterval, uint requestedLifetimeCount, uint requestedMaxKeepAliveCount, uint maxNotificationsPerPublish, bool publishingEnabled, byte priority, out uint subscriptionId, out double revisedPublishingInterval, out uint revisedLifetimeCount, out uint revisedMaxKeepAliveCount) |
Invokes the CreateSubscription service. More... | |
virtual ResponseHeader | ModifySubscription (RequestHeader requestHeader, uint subscriptionId, double requestedPublishingInterval, uint requestedLifetimeCount, uint requestedMaxKeepAliveCount, uint maxNotificationsPerPublish, byte priority, out double revisedPublishingInterval, out uint revisedLifetimeCount, out uint revisedMaxKeepAliveCount) |
Invokes the ModifySubscription service. More... | |
virtual ResponseHeader | SetPublishingMode (RequestHeader requestHeader, bool publishingEnabled, UInt32Collection subscriptionIds, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the SetPublishingMode service. More... | |
virtual ResponseHeader | Publish (RequestHeader requestHeader, SubscriptionAcknowledgementCollection subscriptionAcknowledgements, out uint subscriptionId, out UInt32Collection availableSequenceNumbers, out bool moreNotifications, out NotificationMessage notificationMessage, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the Publish service. More... | |
virtual ResponseHeader | Republish (RequestHeader requestHeader, uint subscriptionId, uint retransmitSequenceNumber, out NotificationMessage notificationMessage) |
Invokes the Republish service. More... | |
virtual ResponseHeader | TransferSubscriptions (RequestHeader requestHeader, UInt32Collection subscriptionIds, bool sendInitialValues, out TransferResultCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the TransferSubscriptions service. More... | |
virtual ResponseHeader | DeleteSubscriptions (RequestHeader requestHeader, UInt32Collection subscriptionIds, out StatusCodeCollection results, out DiagnosticInfoCollection diagnosticInfos) |
Invokes the DeleteSubscriptions service. More... | |
virtual ResponseHeader | TestStack (RequestHeader requestHeader, uint testId, int iteration, Variant input, out Variant output) |
Invokes the TestStack service. More... | |
virtual ResponseHeader | TestStackEx (RequestHeader requestHeader, uint testId, int iteration, CompositeTestType input, out CompositeTestType output) |
Invokes the TestStackEx service. More... | |
Public Member Functions inherited from UnifiedAutomation.UaBase.ServerBase | |
ServerBase () | |
Initializes object with default values. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
void | ScheduleIncomingRequest (IEndpointIncomingRequest request) |
Schedules an incoming request. More... | |
void | Start (ApplicationInstance application) |
Starts the server (called from a dedicated host process). More... | |
virtual void | Stop () |
Stops the server and releases all resources. More... | |
void | RunInThreadPool (ThreadPoolEventHandler callback, object request) |
Runs an operation the in server thread pool. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UnifiedAutomation.UaBase.ServerBase | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
void | InitializeRequestQueue (ApplicationInstance configuration) |
Initializes the request queue. More... | |
virtual void | DispatchRequest (IEndpointIncomingRequest request) |
Schedules an incoming request. More... | |
virtual ServiceHost | CreateServiceHost (ServerBase server, params Uri[] addresses) |
Creates an instance of the service host. More... | |
virtual Type | GetServiceContract () |
Returns the service contract to use. More... | |
virtual EndpointBase | GetEndpointInstance (ServerBase server) |
Returns an instance of the endpoint to use. More... | |
List< ServiceHost > | CreateServiceHosts (ApplicationInstance application) |
Create a new WCF service host for protocols that require a WCF service host. More... | |
ITransportListener | CreateUaTcpListener (ApplicationInstance application) |
Creates the UA TCP listener. More... | |
ITransportListener | CreateHttpsListener (ApplicationInstance application) |
Creates the HTTPS listener. More... | |
virtual void | ValidateRequest (RequestHeader requestHeader) |
Verifies that the request header is valid. More... | |
virtual ResponseHeader | CreateResponse (RequestHeader requestHeader, uint statusCode) |
Creates the response header. More... | |
virtual void | OnUpdateConfiguration (ApplicationInstance configuration) |
Called when the server configuration is changed on disk. More... | |
virtual void | OnServerStarting (ApplicationInstance configuration) |
Called before the server starts. More... | |
virtual List< StatusCode > | InitializeServices (ApplicationInstance application) |
Creates the endpoints and creates the hosts. More... | |
virtual void | StartApplication (ApplicationInstance configuration) |
Starts the server application. More... | |
virtual void | OnServerStopping () |
Called before the server stops More... | |
virtual void | ProcessRequest (IEndpointIncomingRequest request) |
Processes the request. More... | |
string | NormalizeHostname (string hostname) |
Checks for IP address or well known hostnames that map to the computer. More... | |
ApplicationDescription | GetApplicationDescription (Uri clientUrl, ApplicationDescription description, LocalizedText applicationName) |
Gets the application description. More... | |
EndpointDescriptionCollection | GetEndpointDescriptions (Uri clientUrl, ApplicationDescription application) |
Gets the endpoint descriptions. More... | |
Properties inherited from UnifiedAutomation.UaBase.ServerBase | |
ApplicationInstance | Application [get] |
Gets the application. More... | |
ApplicationLicense | License [get] |
Gets the application license. More... | |
MessageContext | MessageContext [get] |
The message context to use with the service. More... | |
StatusCode | ServerError [get] |
An error condition that describes why the server if not running (null if no error exists). More... | |
IEnumerable< ServiceHost > | WcfServiceHosts [get] |
Gets the list of WCF service hosts used by the server instance. More... | |
IEnumerable< ITransportListener > | TransportListeners [get] |
Gets the list of transport listeners used by the server instance. More... | |
Properties inherited from UnifiedAutomation.UaBase.IServerBase | |
ApplicationInstance | Application [get] |
Gets the application. More... | |
MessageContext | MessageContext [get] |
The message context to use with the service. More... | |
StatusCode | ServerError [get] |
An error condition that describes why the server if not running (null if no error exists). More... | |
A basic implementation of the UA server.
|
inlinevirtual |
Invokes the ActivateSession service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the AddNodes service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the AddReferences service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the Browse service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the BrowseNext service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the Call service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the Cancel service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the CloseSession service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the CreateMonitoredItems service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the CreateSession service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the CreateSubscription service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the DeleteMonitoredItems service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the DeleteNodes service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the DeleteReferences service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the DeleteSubscriptions service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the FindServers service.
Implements UnifiedAutomation.UaBase.ISessionServer.
Reimplemented in UnifiedAutomation.UaServer.ServerManager.
|
inlinevirtual |
Invokes the GetEndpoints service.
Implements UnifiedAutomation.UaBase.ISessionServer.
Reimplemented in UnifiedAutomation.UaServer.ServerManager.
|
inlinevirtual |
Invokes the HistoryRead service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the HistoryUpdate service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the ModifyMonitoredItems service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the ModifySubscription service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the Publish service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the QueryFirst service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the QueryNext service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the Read service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the RegisterNodes service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the Republish service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the SetMonitoringMode service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the SetPublishingMode service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the SetTriggering service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the TestStack service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the TestStackEx service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the TransferSubscriptions service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the TranslateBrowsePathsToNodeIds service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the UnregisterNodes service.
Implements UnifiedAutomation.UaBase.ISessionServer.
|
inlinevirtual |
Invokes the Write service.
Implements UnifiedAutomation.UaBase.ISessionServer.