Skip to content

Commit

Permalink
Merge pull request xapi-project#60 from jonludlam/new-ocaml-rpc
Browse files Browse the repository at this point in the history
New ocaml-rpc
  • Loading branch information
Jon Ludlam authored Nov 15, 2018
2 parents 3ff31b9 + 9ae04bd commit 5a68a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/squeezed.ml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let options = [
implementations rather than return a Result.result. Once all the
methods are bound, the function S.implementation : Rpc.call -> Rpc.response
is the dispatcher. *)
module S=Memory_interface.API(Idl.GenServerExn ())
module S=Memory_interface.API(Idl.Exn.GenServer ())

(* This is where we bind the method declarations to the implementations.
Care has to be taken to bind each and every method declared as there
Expand Down Expand Up @@ -64,7 +64,7 @@ let _ =
let server = Xcp_service.make
~path:Memory_interface.xml_path
~queue_name:Memory_interface.queue_name
~rpc_fn:(Idl.server S.implementation)
~rpc_fn:(Idl.Exn.server S.implementation)
() in

maybe_daemonize ();
Expand Down

0 comments on commit 5a68a34

Please # to comment.