ctrlX Data Layer .NET API  4.3.0
Loading...
Searching...
No Matches
IFactory Interface Reference

The IFactory interface. More...

Inheritance diagram for IFactory:
INativeDisposable

Public Member Functions

IClient CreateClient (string remote)
 Creates a ctrlX Data Layer client and connects. Automatically reconnects if the connection is interrupted.
 
IProvider CreateProvider (string remote)
 Creates a ctrlX Data Layer provider and connects. Automatically reconnects if the connection is interrupted.
 

Additional Inherited Members

- Properties inherited from INativeDisposable
bool IsDisposed [get]
 Checks disposed.
 

Detailed Description

The IFactory interface.

Definition at line 8 of file IFactory.cs.

Member Function Documentation

◆ CreateClient()

IClient CreateClient ( string  remote)

Creates a ctrlX Data Layer client and connects. Automatically reconnects if the connection is interrupted.

Parameters
remoteRemote address of the ctrlX Data Layer
Exceptions
ArgumentNullExceptionArgument cannot be null.
Returns
The created client

◆ CreateProvider()

IProvider CreateProvider ( string  remote)

Creates a ctrlX Data Layer provider and connects. Automatically reconnects if the connection is interrupted.

Parameters
remoteRemote address of the ctrlX Data Layer
Exceptions
ArgumentNullExceptionArgument cannot be null.
Returns
The created provider

The documentation for this interface was generated from the following file: