|
ctrlX Data Layer API for .NET 5
2.1.0
|
|
2 using System.Threading.Tasks;
string Id
Gets the subscription id.
object UserData
Gets the user data.
Task< ISubscriptionAsyncResult > UnsubscribeAsync(string address)
Unsubscribes to a node asynchronously.
DLR_RESULT SubscribeMulti(string[] addresses)
Subscribes to a list of nodes
Task< ISubscriptionAsyncResult > UnsubscribeMultiAsync(string[] addresses)
Unsubscribes a list of nodes asynchronously.
delegate void DataChangedEventHandler(ISubscription subscription, IDataChangedEventArgs args)
The DataChanged event delegate of the Subscription
DataChangedEventHandler DataChanged
The DataChanged event of the Subscription
Task< ISubscriptionAsyncResult > SubscribeAsync(string address)
Subscribes to a node asynchronously
The native disposable interface
DLR_RESULT Subscribe(string address)
Subscribes to a node
DLR_RESULT UnsubscribeAll()
Unsubscribes all subscribed nodes
The subscription's data changed event interface
Task< ISubscriptionAsyncResult > UnsubscribeAllAsync()
Unsubscribes all subscribed nodes asynchronously.
IClient Client
Gets the client.
Task< ISubscriptionAsyncResult > SubscribeMultiAsync(string[] addresses)
Subscribes to a list of nodes asynchronously
DLR_RESULT UnsubscribeMulti(string[] addresses)
Unsubscribes to a list of nodes
The subscription interface.
DLR_RESULT Unsubscribe(string address)
Unsubscribes the node