C# Class Opc.Ua.Com.ComProxy

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Méthode 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 méthode

Initializes a new instance of the ComProxy class.
public ComProxy ( ) : System
Résultat System

Dispose() public méthode

Frees any unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Load() public méthode

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.
Résultat void

Unload() public méthode

Unloads this instance.
public Unload ( ) : void
Résultat void