Table of Contents

Enum LiveControlFlags

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Flag bits of a ControlState frame.

[Flags]
public enum LiveControlFlags : byte

Fields

Allowed = 1

The engine accepts control on this connection (opt-in key set, bind allowed). Without it the channel is read-only.

BadToken = 64

With Refused, on the state answering a hello: the hello's proof matched no token — as opposed to a refusal for another reason (an unknown protocol version), which Reason states.

Controller = 2

This connection proved it holds a valid token in its ControlHello, so its commands are executed.

None = 0

No flag set.

Off = 32

Control is off by configuration (Typhon:Profiler:AllowControl unset): the opt-in default, not a fault. A Workbench shows a plain live attach for it, and keeps "control unavailable" for an engine that tried to allow control and could not (a malformed token, a second runtime…).

Refused = 8

The command this state acknowledges (AckSeq) was refused — a scale outside the engine's range, a runtime already stopped — or, with AckSeq 0 on a connection that is not the controller, its hello was (a wrong token, an unknown version); Reason says why. Clear when it executed.

RemoteHold = 16

The engine is held by a hold this connection's controller created and nothing has changed since: the hold its lease will release if the controller goes silent. Clear for an application's pause, so a Workbench warns "disconnect resumes" only when it would.

Terminal = 4

The run state is terminal (Stopped or Faulted); no command can change it.