C# 클래스 Opc.Ua.Com.Server.ComProxy

A base class for classes that implement an OPC COM specification.
상속: IDisposable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary

공개 메소드들

메소드 설명
ComProxy ( ) : System

Initializes a new instance of the ComProxy class.

Dispose ( ) : void

Frees any unmanaged resources.

GetAvailableLocaleIds ( ) : int[]

Returns the available locales.

GetLocaleId ( ) : int

Gets the current locale.

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

Called when the object is loaded by the COM process.

SetLocaleId ( int localeId ) : void

Sets the current locale.

Unload ( ) : void

Unloads this instance.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

LoadConfiguredEndpoint ( System.Guid clsid ) : ConfiguredEndpoint

Reads the UA endpoint information associated the CLSID

OnReconnectInProgress ( int secondsToReconnect ) : void

Called when a session reconnect is scheduled.

OnSessionCreated ( ) : void

Called when a new session is created.

OnSessionReconected ( ) : void

Called when a session is reconnected.

OnSessionRemoved ( ) : void

Called when a session is removed.

SaveConfiguration ( ) : void

Saves the current endpoint configuration.

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

Saves the UA endpoint information associated the CLSID.

ThrowIfNotConnected ( ) : Session

Throws if disposed or not connected.

비공개 메소드들

메소드 설명
Connect ( System.Guid clsid ) : Task

Connects to the UA server identfied by the CLSID.

OnCreateSession ( object state ) : void

Creates a session with the server.

OnReconnectSession ( object state ) : void

Creates a session with the server.

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

GetAvailableLocaleIds() 공개 메소드

Returns the available locales.
public GetAvailableLocaleIds ( ) : int[]
리턴 int[]

GetLocaleId() 공개 메소드

Gets the current locale.
public GetLocaleId ( ) : int
리턴 int

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

LoadConfiguredEndpoint() 보호된 메소드

Reads the UA endpoint information associated the CLSID
protected LoadConfiguredEndpoint ( System.Guid clsid ) : ConfiguredEndpoint
clsid System.Guid The CLSID used to activate the COM server.
리턴 ConfiguredEndpoint

OnReconnectInProgress() 보호된 메소드

Called when a session reconnect is scheduled.
protected OnReconnectInProgress ( int secondsToReconnect ) : void
secondsToReconnect int
리턴 void

OnSessionCreated() 보호된 메소드

Called when a new session is created.
protected OnSessionCreated ( ) : void
리턴 void

OnSessionReconected() 보호된 메소드

Called when a session is reconnected.
protected OnSessionReconected ( ) : void
리턴 void

OnSessionRemoved() 보호된 메소드

Called when a session is removed.
protected OnSessionRemoved ( ) : void
리턴 void

SaveConfiguration() 보호된 메소드

Saves the current endpoint configuration.
protected SaveConfiguration ( ) : void
리턴 void

SaveConfiguredEndpoint() 보호된 메소드

Saves the UA endpoint information associated the CLSID.
protected SaveConfiguredEndpoint ( System.Guid clsid, ConfiguredEndpoint endpoint ) : void
clsid System.Guid The CLSID used to activate the COM server.
endpoint ConfiguredEndpoint The endpoint.
리턴 void

SetLocaleId() 공개 메소드

Sets the current locale.
public SetLocaleId ( int localeId ) : void
localeId int
리턴 void

ThrowIfNotConnected() 보호된 메소드

Throws if disposed or not connected.
protected ThrowIfNotConnected ( ) : Session
리턴 Opc.Ua.Client.Session

Unload() 공개 메소드

Unloads this instance.
public Unload ( ) : void
리턴 void