C# 클래스 Opc.Ua.Com.ServerFactory

A unique identifier for the result of an operation of an item.
상속: IDisposable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
CLSIDFromProgID ( string progID ) : System.Guid

Looks up the CLSID for the specified prog id on a remote host.

Connect ( ) : void

Connects to OPCEnum on the local machine.

Connect ( string host, UserIdentity identity ) : void

Connects to OPCEnum on the specified machine.

CreateServer ( Uri uri, UserIdentity identity ) : object

Connects to the specified COM server server.

Disconnect ( ) : void

Releases the active server.

Dispose ( ) : void

Frees any unmanaged resources.

EnumerateHosts ( ) : string[]

Enumerates hosts that may be accessed for server discovery.

GetAvailableServers ( ) : System.Uri[]

Returns a list of servers that support the specified specification.

ParseUrl ( Uri uri ) : ComServerDescription

Parses the URL and fetches the information about the server.

ServerFactory ( ) : System

Initializes an empty instance.

보호된 메소드들

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

An overrideable version of the Dispose.

비공개 메소드들

메소드 설명
CreateUri ( System.Guid clsid ) : Uri

Reads the server details from the enumerator.

Initialize ( ) : void

Sets private members to default values.

ReadClasses ( IOPCEnumGUID enumerator ) : List

Reads the guids from the enumerator.

메소드 상세

CLSIDFromProgID() 공개 메소드

Looks up the CLSID for the specified prog id on a remote host.
public CLSIDFromProgID ( string progID ) : System.Guid
progID string
리턴 System.Guid

Connect() 공개 메소드

Connects to OPCEnum on the local machine.
public Connect ( ) : void
리턴 void

Connect() 공개 메소드

Connects to OPCEnum on the specified machine.
public Connect ( string host, UserIdentity identity ) : void
host string
identity UserIdentity
리턴 void

CreateServer() 공개 메소드

Connects to the specified COM server server.
public CreateServer ( Uri uri, UserIdentity identity ) : object
uri System.Uri
identity UserIdentity
리턴 object

Disconnect() 공개 메소드

Releases the active server.
public Disconnect ( ) : void
리턴 void

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

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

EnumerateHosts() 공개 메소드

Enumerates hosts that may be accessed for server discovery.
public EnumerateHosts ( ) : string[]
리턴 string[]

GetAvailableServers() 공개 메소드

Returns a list of servers that support the specified specification.
public GetAvailableServers ( ) : System.Uri[]
리턴 System.Uri[]

ParseUrl() 공개 메소드

Parses the URL and fetches the information about the server.
public ParseUrl ( Uri uri ) : ComServerDescription
uri System.Uri The URI.
리턴 ComServerDescription

ServerFactory() 공개 메소드

Initializes an empty instance.
public ServerFactory ( ) : System
리턴 System