|
ctrlX Data Layer API for .NET 5
2.1.0
|
|
2 using System.Threading.Tasks;
162 Task<IClientAsyncResult>
RemoveAsync(
string address);
171 Task<IClientAsyncResult>
BrowseAsync(
string address);
180 Task<IClientAsyncResult>
ReadAsync(
string address);
IVariant AuthToken
Gets the authentication token (JWT) as string.
DLR_RESULT Ping()
Pings the remote.
The datalayer system interface.
DLR_RESULT Write(string address, IVariant writeValue)
Writes the value to a node.
Task< ISubscriptionAsyncResult > CreateSubscriptionAsync(IVariant subscriptionPropertiesFlatbuffers, object userData)
Creates an asynchronously subscription.
DLR_RESULT Remove(string address)
Removes a node.
Task< IClientAsyncResult > ReadMetadataAsync(string address)
Reads the metadata of a node asynchronously.
IDatalayerSystem System
Gets the system.
DLR_TIMEOUT_SETTING
DLR_TIMEOUT_SETTING
DLR_RESULT Create(string address, IVariant args)
Creates a node with arguments.
Task< IClientAsyncResult > ReadAsync(string address)
Reads a node value asynchronously.
The native disposable interface
Task< IClientAsyncResult > BrowseAsync(string address)
Browses a node asynchronously.
bool IsConnected
Checks the connection.
Task< IClientAsyncResult > WriteAsync(string address, IVariant writeValue)
Writes a value to a node asynchronously.
DLR_RESULT
Writes a JSON value to a node.
The subscription interface.
DLR_RESULT SetTimeout(DLR_TIMEOUT_SETTING timeout, uint value)
Sets the timeout of each request.
Task< IClientAsyncResult > PingAsync()
Pings the remote asynchronously.
Task< IClientAsyncResult > CreateAsync(string address, IVariant args)
Creates a node asynchronously with arguments.
Task< IClientAsyncResult > RemoveAsync(string address)
Removes a node asynchronously.
DLR_RESULT result
Browses a node.