MovaNodeFail class final
一次节点失败裁决;示例:event is MovaNodeFail。
- Inheritance
-
- Object
- MovaSessionEvent
- MovaNodeFail
Constructors
- MovaNodeFail(int epoch, MovaNodeId node, MovaNodeFailVerdict verdict, {Object? error})
-
以纪元
epoch、节点node、裁决verdict及原始error创建事件。 返回新事件;示例:MovaNodeFail(1, id, MovaNodeFailVerdict.failItem, error: e)。const
Properties
- epoch → int
-
返回事件所属加载纪元。示例:
event.epoch。finalinherited - error → Object?
-
返回原始异常,超时等无异常场景为 null;示例:
event.error。final - hashCode → int
-
The hash code for this object.
no setterinherited
- node → MovaNodeId
-
返回失败的节点;示例:
event.node.kind。final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verdict → MovaNodeFailVerdict
-
返回唯一裁决;示例:
event.verdict == MovaNodeFailVerdict.skipNode。final
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