capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library capnp
Class type Capnp . RPC . S . Untyped . generic_service
method dispatch : interface_id:Uint64.t -> method_id:int -> abstract_method_t

Look up a method by ID. The schema compiler generates an implementation of this that dispatches to the typed methods of the interface.

method release : unit

Called when the service's ref-count drops to zero. Implementations that hold other capabilities should override this to release them in turn.

method pp : Format.formatter -> unit

Used to identify the service in log messages. The schema compiler generates a default that displays the service's name.