NodeCapability enum
Represents the type of a node in the network. Type, in this case means essentially the MAXIMUM privileges and capabilities of the node in the network. An observer node, will never be allowed to produce data, while a coordinator node will be able to produce coordination messages, but will not be able to produce data in data streams.
- Inheritance
- Available extensions
Values
- none → const NodeCapability
- observer → const NodeCapability
- participant → const NodeCapability
- relay → const NodeCapability
- transformer → const NodeCapability
- coordinator → const NodeCapability
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortString → String
-
Available on NodeCapability, provided by the NodeCapabilityStringExtension extension
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
NodeCapability> - A constant List of the values in this enum, in order of their declaration.