thread accept_loop — accept_loop (src/facade/external_bridge.cpp)¶
Overview · 4 steps, 1 lane
All 4 steps
| # | caller | callee | what it does | requirements | frames | call site |
|---|---|---|---|---|---|---|
| 1 | accept_loop | peer_uid_matches | Validate that the connecting peer shares the engine's UID. | REQ-BRIDGE-001 | loop (line 1749), if (line 1760) | src/facade/external_bridge.cpp:1760 |
| 2 | accept_loop | serve_client | Serve a single connected client until disconnect. | REQ-BRIDGE-001 | loop (line 1749) | src/facade/external_bridge.cpp:1778 |
| 3 | serve_client | subscribe | Add a connected fd to the subscriber set. | REQ-BRIDGE-001 | — | src/facade/external_bridge.cpp:1823 |
| 4 | accept_loop | reap_finished_clients_locked | Reap finished client threads from client_threads_. | — | loop (line 1749) | src/facade/external_bridge.cpp:1790 |
Functions¶
5 functions
accept_loopsrc/facade/external_bridge.cpppeer_uid_matchessrc/facade/external_bridge.cppreap_finished_clients_lockedsrc/facade/external_bridge.cppserve_clientsrc/facade/external_bridge.cppsubscribesrc/facade/external_bridge.cpp
This diagram as Mermaid · PlantUML · Graphviz DOT
Quick views¶
5 functions, each with its quick view
- accept_loop
Background thread: accept connections and serve.
Map
Show it on the map, in its block's wedge.
Block
src/facade is the block holding
src/facade/external_bridge.cpp.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- peer_uid_matches
Validate that the connecting peer shares the engine's UID.
Map
Show it on the map, in its block's wedge.
Block
src/facade is the block holding
src/facade/external_bridge.cpp.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- reap_finished_clients_locked
Reap finished client threads from client_threads_.
Map
Show it on the map, in its block's wedge.
Block
src/facade is the block holding
src/facade/external_bridge.cpp.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- serve_client
Serve a single connected client until disconnect.
Map
Show it on the map, in its block's wedge.
Block
src/facade is the block holding
src/facade/external_bridge.cpp.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- subscribe
Add a connected fd to the subscriber set.
Map
Show it on the map, in its block's wedge.
Block
src/facade is the block holding
src/facade/external_bridge.cpp.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs