Expand description
Handler registration seam — the boundary between generated adapters and game-owned domain logic.
Galeon generates adapter glue. The game project implements handlers.
Both local and remote adapters target the same HandlerRegistry.
§Architecture
Protocol definitions (game crate)
│
▼
┌─────────────────┐
│ HandlerRegistry │ ← game registers handlers here
└────────┬────────┘
│
┌────┴────┐
▼ ▼
Local Remote
Adapter Adapter§Design Rules
- One command type → one handler entry
- One query type → one handler entry
- Game project owns all handlers; Galeon does not generate domain logic
- Local and remote adapters target the same boundary
Structs§
- Handler
Registry - Registry of command and query handlers.
Traits§
- Command
Handler - Handler for a command type. Game project implements this.
- Query
Handler - Handler for a query type. Game project implements this.