C# Class Opc.Ua.Com.ComProxy

A base class for classes that implement an OPC COM specification.
Inheritance: IDisposable
Mostrar archivo Open project: OPCFoundation/UA-.NETStandardLibrary

Public Methods

Method Description
ComProxy ( ) : System

Initializes a new instance of the ComProxy class.

Dispose ( ) : void

Frees any unmanaged resources.

Load ( System.Guid clsid, ApplicationConfiguration configuration ) : void

Called when the object is loaded by the COM process.

Unload ( ) : void

Unloads this instance.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
Connect ( System.Guid clsid ) : Task

Connects to the UA server identfied by the CLSID.

LoadConfiguredEndpoint ( System.Guid clsid ) : ConfiguredEndpoint

Reads the UA endpoint information associated the CLSID

OnCreateSession ( object state ) : void

Creates a session with the server.

OnReconnectSession ( object state ) : void

Creates a session with the server.

SaveConfiguredEndpoint ( System.Guid clsid, ConfiguredEndpoint endpoint ) : void

Saves the UA endpoint information associated the CLSID.

Session_KeepAlive ( Session session, KeepAliveEventArgs e ) : void

The session the keep alive handler.

Method Details

ComProxy() public method

Initializes a new instance of the ComProxy class.
public ComProxy ( ) : System
return System

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Load() public method

Called when the object is loaded by the COM process.
public Load ( System.Guid clsid, ApplicationConfiguration configuration ) : void
clsid System.Guid The CLSID used to activate the server.
configuration ApplicationConfiguration The application configuration for the COM process.
return void

Unload() public method

Unloads this instance.
public Unload ( ) : void
return void