Trace class
Trace represents one simulated packet forwarding path.
- Each trace contains multiple ordered steps. * Each step is in a particular
state with associated configuration. * State is categorized as final or
non-final states. * Each final state has a reason associated. * Each trace
must end with a final state (the last step).
|---------------------Trace----------------------| Step1(State) Step2(State) --- StepN(State(final))
Constructors
-
Trace({EndpointInfo? endpointInfo, int? forwardTraceId, List<
Step> ? steps}) - Trace.fromJson(Map json_)
Properties
- endpointInfo ↔ EndpointInfo?
-
Derived from the source and destination endpoints definition specified by
user request, and validated by the data plane model.
getter/setter pair
- forwardTraceId ↔ int?
-
ID of trace.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
steps
↔ List<
Step> ? -
A trace of a test contains multiple steps from the initial state to the
final state (delivered, dropped, forwarded, or aborted).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited