The datalayer system interface.
More...
The datalayer system interface.
Definition at line 8 of file IDatalayerSystem.cs.
◆ Start()
void Start |
( |
bool |
startBroker | ) |
|
Starts the DatalayerSystem.
- Parameters
-
startBroker | Use true to start a broker. If you are a user of the datalayer, set to false. |
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object |
Example
using var system = new DatalayerSystem();
system.Start(startBroker: false);
Implemented in DatalayerSystem.
◆ Stop()
◆ BfbsPath
Sets the binary Flatbuffer path, which contains *.bfbs files.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object |
ArgumentNullException | Argument cannot be null. |
Definition at line 73 of file IDatalayerSystem.cs.
◆ Converter
Gets the Converter for Variant to JSON conversions.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object |
Definition at line 66 of file IDatalayerSystem.cs.
◆ Factory
Gets the Factory to create Clients and Providers.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object |
InvalidOperationException | Operation not allowed |
Example
using var system = new DatalayerSystem();
var isSnapped = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("SNAP"));
using var client = isSnapped
? system.Factory.CreateIpcClient()
: system.Factory.CreateTcpClient(IPAddress.Loopback,
DatalayerSystem.DefaultClientPort,
"name",
"name");
Definition at line 60 of file IDatalayerSystem.cs.
◆ IpcPath
Gets the interprocess communication path.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object |
Definition at line 14 of file IDatalayerSystem.cs.
◆ IsStarted
The documentation for this interface was generated from the following file: