wire::Command::route now names the owner of every command in one match with no catch-all arm: the session, the domain, a room addressed by its id, a publication or a flow, a room's host, transport between sessions, or a conversation packet. A new command must be classified where it is declared. The per-class properties moved beside the type as methods with one definition each. Command::pair_report names the transport report a command carries, which the channel checks for currency without its own catch-all. Command::needs_peer replaces the room runtime's local match, and Command::undoable replaces the Authority's. Channel::command_room resolves the room from the route's address instead of re-listing the room commands. The command fixture test now asserts the route of every specimen as well as its variant. Error codes, wire shapes and checkpoint decisions are unchanged.
2250de9b8c
·
2026-11-29 12:30:28 +08:00
History