C# Класс Opc.Ua.Com.ComProxy

A base class for classes that implement an OPC COM specification.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Приватные методы

Метод Описание
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.

Описание методов

ComProxy() публичный Метод

Initializes a new instance of the ComProxy class.
public ComProxy ( ) : System
Результат System

Dispose() публичный Метод

Frees any unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Load() публичный Метод

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.
Результат void

Unload() публичный Метод

Unloads this instance.
public Unload ( ) : void
Результат void