|
|
DLR_RESULT IVariant value | Browse (string address) |
| |
| Task< IClientAsyncResult > | BrowseAsync (string address) |
| | Browses a node asynchronously.
|
| |
|
DLR_RESULT IBulkItem[] items | BulkBrowse (string[] addresses) |
| |
| Task< IClientAsyncBulkResult > | BulkBrowseAsync (string[] addresses) |
| | Browses a list of nodes asynchronously.
|
| |
|
DLR_RESULT IBulkItem[] items | BulkCreate (string[] addresses, IVariant[] args) |
| |
| Task< IClientAsyncBulkResult > | BulkCreateAsync (string[] addresses, IVariant[] args) |
| | Creates a list of nodes with arguments asynchronously.
|
| |
|
DLR_RESULT IBulkItem[] items | BulkRead (string[] addresses) |
| |
|
DLR_RESULT IBulkItem[] items | BulkRead (string[] addresses, IVariant[] args) |
| |
| Task< IClientAsyncBulkResult > | BulkReadAsync (string[] addresses) |
| | Reads values from a list of nodes asynchronously.
|
| |
| Task< IClientAsyncBulkResult > | BulkReadAsync (string[] addresses, IVariant[] args) |
| | Reads values from a list of nodes with arguments asynchronously.
|
| |
|
DLR_RESULT IBulkItem[] items | BulkReadMetadata (string[] addresses) |
| |
| Task< IClientAsyncBulkResult > | BulkReadMetadataAsync (string[] addresses) |
| | Reads the metadata from a list of nodes asynchronously.
|
| |
|
DLR_RESULT IBulkItem[] items | BulkRemove (string[] addresses) |
| |
| Task< IClientAsyncBulkResult > | BulkRemoveAsync (string[] addresses) |
| | Removes a list of nodes asynchronously.
|
| |
|
DLR_RESULT IBulkItem[] items | BulkWrite (string[] addresses, IVariant[] writeValues) |
| |
| Task< IClientAsyncBulkResult > | BulkWriteAsync (string[] addresses, IVariant[] writeValues) |
| | Writes a list of values to a list of nodes asynchronously.
|
| |
|
DLR_RESULT IVariant value | Create (string address, IVariant args) |
| |
| Task< IClientAsyncResult > | CreateAsync (string address, IVariant args) |
| | Creates a node with arguments asynchronously.
|
| |
|
DLR_RESULT ISubscription subscription | CreateSubscription (IVariant subscriptionPropertiesFlatbuffers, object userData) |
| |
|
DLR_RESULT ISubscription subscription | CreateSubscription (SubscriptionPropertiesT subscriptionProperties, object userData=null) |
| |
| Task< ISubscriptionAsyncResult > | CreateSubscriptionAsync (IVariant subscriptionPropertiesFlatbuffers, object userData) |
| | Creates an subscription asynchronously.
|
| |
| Task< ISubscriptionAsyncResult > | CreateSubscriptionAsync (SubscriptionPropertiesT subscriptionProperties, object userData) |
| | Creates an subscription asynchronously.
|
| |
| DLR_RESULT | Ping () |
| | Pings the remote.
|
| |
| Task< IClientAsyncResult > | PingAsync () |
| | Pings the remote asynchronously.
|
| |
|
DLR_RESULT IVariant value | Read (string address) |
| |
|
DLR_RESULT IVariant value | Read (string address, IVariant args) |
| |
| Task< IClientAsyncResult > | ReadAsync (string address) |
| | Reads a node value asynchronously.
|
| |
| Task< IClientAsyncResult > | ReadAsync (string address, IVariant args) |
| | Reads a node value with arguments asynchronously.
|
| |
|
DLR_RESULT IVariant value | ReadJson (string address, int indentStep=0) |
| |
|
DLR_RESULT IVariant value | ReadJson (string address, IVariant args, int indentStep=0) |
| |
| Task< IClientAsyncResult > | ReadJsonAsync (string address, int indentStep=0) |
| | Reads a node value as JSON asynchronously.
|
| |
| Task< IClientAsyncResult > | ReadJsonAsync (string address, IVariant args, int indentStep=0) |
| | Reads a node value as JSON with arguments asynchronously.
|
| |
|
DLR_RESULT IVariant value | ReadMetadata (string address) |
| |
| Task< IClientAsyncResult > | ReadMetadataAsync (string address) |
| | Reads the metadata of a node asynchronously.
|
| |
| DLR_RESULT | Remove (string address) |
| | Removes a node.
|
| |
| Task< IClientAsyncResult > | RemoveAsync (string address) |
| | Removes a node asynchronously.
|
| |
| DLR_RESULT | SetTimeout (DLR_TIMEOUT_SETTING timeout, uint value) |
| | Sets the timeout of each request.
|
| |
| DLR_RESULT | Write (string address, IVariant writeValue) |
| | Writes the value to a node.
|
| |
| Task< IClientAsyncResult > | WriteAsync (string address, IVariant writeValue) |
| | Writes a value to a node asynchronously.
|
| |
|
IVariant error | WriteJson (string address, string json) |
| |
| Task< IClientAsyncResult > | WriteJsonAsync (string address, string json) |
| | Writes a JSON value to a node asynchronously.
|
| |
The IClient interface.
Definition at line 10 of file IClient.cs.
Reads a node value.
Creates a subscription.
Removes a list of nodes.
Creates a list of nodes with arguments.
Creates a node with arguments.
Browses a list of nodes.
Browses a node.
Writes a list of values to a list of nodes.
Reads the metadata from a list of nodes.
Reads the metadata of a node.
Reads a node value as JSON with arguments.
Reads a node value as JSON.
Reads values from a list of nodes with arguments.
Reads values from a list of nodes.
Reads a node value with arguments.
- Parameters
-
| address | Address of the node. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
- Parameters
-
| address | Address of the node. |
| args | Request arguments. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
- Parameters
-
| addresses | Addresses of the nodes. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
- Parameters
-
| addresses | Addresses of the nodes. |
| args | Request arguments. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
| ArgumentException | Invalid arguments. |
- Parameters
-
| address | Address of the node. |
| indentStep | Indentation length for json string. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
- Parameters
-
| address | Address of the node. |
| args | Request arguments (JSON). |
| indentStep | Indentation length for json string. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
- Parameters
-
| addresses | Addresses of the nodes. |
| writeValues | Values to write. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
| ArgumentException | Invalid arguments. |
- Parameters
-
| addresses | Address of the nodes. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
- Parameters
-
| addresses | Addresses of the nodes. |
| args | Request arguments. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
- Parameters
-
| subscriptionProperties | Properties of the subscription. |
| userData | Optional user data can be provided, which is available in the subscription data changed event context. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
var userData = new Variant(42); var props = new SubscriptionPropertiesT() { Id = "mySubscription", PublishInterval = ISubscription.DefaultPublishIntervalMillis, KeepaliveInterval = ISubscription.DefaultKeepaliveIntervalMillis, ErrorInterval = ISubscription.DefaultErrorIntervalMillis, }; var (result, subscription) = client.CreateSubscription(propertiesFlatbuffers, userData);
- Parameters
-
| subscriptionPropertiesFlatbuffers | Properties of the subscription as flatbuffers. |
| userData | Optional user data can be provided, which is available in the subscription data changed event context. |
- Returns
- The result.
- Exceptions
-
| ObjectDisposedException | Cannot access a disposed object. |
| ArgumentNullException | Argument cannot be null. |
var userData = new Variant(42); var builder = new FlatBufferBuilder(Variant.DefaultFlatbuffersInitialSize); var properties = SubscriptionProperties.CreateSubscriptionProperties( builder: builder, idOffset: builder.CreateString("mySubscription"), keepaliveInterval: KeepLiveIntervalMillis, publishInterval: PublishIntervalMillis, rulesOffset: default, errorInterval: ErrorIntervalMillis); builder.Finish(properties.Value); var propertiesFlatbuffers = new Variant(builder); var (result, subscription) = client.CreateSubscription(propertiesFlatbuffers, userData);
Definition at line 66 of file IClient.cs.