the storage of one value
Constructors
- ISubscriptionNodeStorage(String path, ISubscriptionResponderStorage storage)
Properties
- path → String
-
final
- qos → int
-
read / write
- storage → ISubscriptionResponderStorage
-
final
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
addValue(
ValueUpdate value) → void -
add data to List of values
-
clear(
int qos) → void -
clear the values, but still leave the qos data in storage
-
destroy(
) → void -
getLoadedValues(
) → List<ValueUpdate> -
return the existing storage values should be called only during application initialization and value will only be available after parent's load() function is finished
-
removeValue(
ValueUpdate value) → void -
for some database it's easier to remove data one by one removeValue and valueRemoved will be both called, either one can be used
-
setValue(
Iterable<ValueUpdate> removes, ValueUpdate newValue) → void -
set value to newValue and clear all existing values in the storage
removes
is only designed for database that can't directly remove all data in a key. ValueUpdate.storedData can be used to store any helper data for the storage class -
valueRemoved(
Iterable<ValueUpdate> updates) → void -
for some database it's easier to remove multiple data together removeValue and valueRemoved will be both called, either one can be used
updates
are all the remaining value that are still in the list -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited