SimTX API/Packets/MonitorAck
Appearance
| Frame | ServerFrame, field 42
|
|---|---|
| Member | monitor_ack
|
| Direction | Server → client |
| Session | Control, moderation |
| Roles | ROLE_CONTROL, ROLE_MODERATION.
|
| Permission | None |
| Answers | StartMonitor, StopMonitor |
| Defined in | control.proto
|
MonitorAck confirms a StartMonitor (active = true) or a StopMonitor (active = false).
Definition
message MonitorAck {
int64 request_id = 1;
bytes session_id = 2;
bool active = 3; // true: the monitor runs; false: it is stopped
}
Fields
| # | Field | Type | Description |
|---|---|---|---|
| 1 | request_id |
int64 |
The request this answers. |
| 2 | session_id |
bytes |
The monitored transmitter. |
| 3 | active |
bool |
True: the monitor runs. False: it is stopped. |
Example
Complete frames, including the varint length prefix, from the protocol's golden test vectors (protocol/simtx/v25/testdata/frames.json).
monitor_ack_started (server to client, 26 bytes):
19 frame length 25
D2 02 16 monitor_ack (MonitorAck), 22 bytes
08 2C request_id = 44
12 10 AA AA AA AA … session_id = aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee
18 01 active = true