The IProvider interface.
More...
|
| DLR_RESULT |
| Registers the node to the ctrlX Data Layer.
|
|
The IProvider interface.
Definition at line 8 of file IProvider.cs.
◆ PublishEvent()
Publishes an event.
- Parameters
-
data | The event data. |
eventInfo | The Event info (flatbuffers). Set timestamp/sequenceNumber property to Zero for automatic creation/increment. |
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
◆ RegisterType()
DLR_RESULT RegisterType |
( |
string |
address, |
|
|
string |
bfbsPath |
|
) |
| |
Registers the type to the ctrlX Data Layer.
- Parameters
-
address | Address of the node. |
bfbsPath | Path to flatbuffers type binary bfbs file. |
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
◆ RegisterTypeVariant()
Registers the type to the ctrlX Data Layer.
- Parameters
-
address | Address of the node. |
flatbuffers | Variant with flatbuffers type. |
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
◆ Start()
Starts the provider.
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
◆ Stop()
Stops the provider.
- Returns
- Result of method call</returns
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
◆ UnregisterNode()
Unregisters the node from the ctrlX Data Layer.
- Parameters
-
address | Address of the node. |
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
◆ UnregisterType()
Unregisters the type from the ctrlX Data Layer.
- Parameters
-
address | Address of the node. |
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
◆ DLR_RESULT
Registers the node to the ctrlX Data Layer.
Gets the current rejected node paths.
Get the variant of a registered type (flatbuffers).
Gets the current registered node paths.
- Parameters
-
address | Address of the node. |
handler | Reference to the node handler. |
- Returns
- The corresponding provider node.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
Definition at line 75 of file IProvider.cs.
◆ AuthToken
Gets the authentication token (JWT) as flatbuffers 'Token' while processing requests.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
InvalidOperationException | Operation not allowed. |
Definition at line 20 of file IProvider.cs.
◆ IsConnected
Checks the connection.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
Definition at line 26 of file IProvider.cs.
◆ System
The documentation for this interface was generated from the following file:
- D:/Jenkins/workspace/sdk.datalayer.csharp/datalayer/IProvider.cs