Expand description
Pipe opcodes (docs/ARCHITECTURE.md opcode table). Event pushes reuse
1..=6 as the event kind with flags = event — dispatch must branch on
the flag before the opcode.
Constants§
- FLUSH_
RESERVED - Number reserved, deliberately unimplemented (client-driven flush is a local-DoS lever — ADR-0016).
- HELLO
Hello: connection handshake and version negotiation (maps tofmf_abi_version).- INDEX_
START IndexStart: start indexing the given volume (maps tofmf_index_start; persisted to service.json).- INDEX_
STATUS IndexStatus: return index progress and state (maps tofmf_index_status; same shape asListVolumes).- LIST_
VOLUMES ListVolumes: return the state and entry count of every volume (maps tofmf_list_volumes).- QUERY
Query: run a query and returnresult_idand the entry count (maps tofmf_query).- RESULT_
FREE ResultFree: freeresult_id’s result handle (maps tofmf_result_free).- RESULT_
PAGE ResultPage: fetch a row page fromresult_id’s results (maps tofmf_result_page).- SERVICE_
INFO ServiceInfo: return service-specific runtime info (uptime_ms/ connections / version).- STATS
Stats: return the engine’s metrics snapshot (maps tofmf_engine_stats).- SUBSCRIBE
Subscribe: push events to this connection from now on (maps tofmf_set_event_callback(cb≠NULL)).- UNSUBSCRIBE
Unsubscribe: stop pushing events (maps tofmf_set_event_callback(NULL)).