The following tables list the members exposed by DAServer.
Name | Description | |
---|---|---|
DAServer Constructor | Overloaded. |
Name | Description | |
---|---|---|
Container | (Inherited from System.ComponentModel.Component) | |
isConnected | Indicates whether the OPC server is currently connected. | |
OpcServerMachine | OPC server Computer Name and Access Credentials. | |
OPCServerProgID | OPC Server ProgID, usually in the form vendor.name.n | |
OwnerForm | The Form object that uses this control and requires synchronization. | |
ServerCheckInterval | Available in the OPCDA.NET Professional Edition only. The OPC server connection is checked at this interval in milliseconds by executing a GetStatus call. The default interval is 10 seconds. The minimum is 1 sec. The GeneralError handler is called if the server does not respond or is not in 'running' state. | |
ServerResponseLimit | Available in the OPCDA.NET Professional Edition only. This is the time limit in milliseconds for the OPC server call handling. The default is 10 seconds. If the server call does not return within this time limit then the GeneralError handling method is called with a TIMEOUT error indication. The server access thread may continue to wait for the server call to finish or timeout. Further requests are not being handled before this happens. | |
Site | (Inherited from System.ComponentModel.Component) | |
Srv | The BGServer object used by this control. The BGServer class handles the OPC server access in background threads using methods of the OpcServer class. | |
UaNamespaceURIs | With UA option only. NamespaceURIs that match the NodeIDs persisted in the client application. If the application doesn't set this property before Connect() then the URIs are tried to be loaded from the file app.url.XML in the same directory as the app.exe executable. url is the UA server URL without the xxx:// This XML file is auto-generated at Connect() if the application didn't set this property. | |
UseNetIOP | The server is accessed through .Net Interop instead of Win32. Use it only for InProcess OPC servers. |
Name | Description | |
---|---|---|
CanRaiseEvents | (Inherited from System.ComponentModel.Component) | |
DesignMode | (Inherited from System.ComponentModel.Component) | |
Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
Connect | The configured OPC server is connected using the configured credentials. The method is called from the DAGroup.Create() method if the server is not yet connected. Therefore, when the application uses at least one DAGroup object with this server the application doen't need to call this method. The call returns immediately after the request is queued. The request is processed in background threads. The completion event handler is called to report success or failure. If no completion handler is specified (null (Nothing) argument) then failures arer reported in the Notification event handler. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
Disconnect | Available in the OPCDA.NET Professional Edition only. The OPC server is disconnected. All associated DAGroup object are first removed. This DAServer object retains all configuration data and allws the server to reconnected by calling the Reconnect() method. The call returns immediately after the request is queued. The processing is handled asynchronously. Completion and errors are reported in the specified completion event handler. If no completion handler is specified then error are reported in the Notification event handler. | |
Dispose | Overloaded. Overridden. Clean up any resources being used. | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
ReConnect | The application calls this method typically used when server access problems have been detected. The server is disconnected and then reconnected. All DAGroup objects associated with this object are re-created. The call returns immediately after the request is queued. The request is processed in background threads. The completion event handler is called to report success or failure. If no completion handler is specified (null (Nothing) argument) then failures arer reported in the Notification event handler. | |
ToString | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
Finalize | (Inherited from System.ComponentModel.Component) | |
GetService | (Inherited from System.ComponentModel.Component) | |
MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) |
Name | Description | |
---|---|---|
Disposed | (Inherited from System.ComponentModel.Component) | |
Notifications | Available in the OPCDA.NET Professional Edition only. This event handler is called when an error occurs and the user did not specify a completion handler in the request. It is also called when a request handling timeout occurs. In this case it's called even with a user completion handler specified. The request completion handler will be called when the request handling finally terminates. This may be after a much longer time limit. | |
ShutdownRequested | Event handler for the server shutdown notification. |