From c8d3cf9e3f77500874ccce334bc147e423bee363 Mon Sep 17 00:00:00 2001 From: Karchnu Date: Sat, 18 Jul 2020 16:38:02 +0200 Subject: [PATCH] `filestoraged` now compiles with bindings for libipc version 0.7. --- src/server/network.cr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/network.cr b/src/server/network.cr index ae8b246..804407e 100644 --- a/src/server/network.cr +++ b/src/server/network.cr @@ -9,7 +9,7 @@ class JSONIPC property id : JSON::Any? - def handle(service : IPC::Service, event : IPC::Event::Events) + def handle(service : IPC::Server, event : IPC::Event::Events) raise "unimplemented" end @@ -27,9 +27,9 @@ class JSONIPC end end -class IPC::Connection - def send(request : JSONIPC) - send request.type.to_u8, request.to_json +class IPC::Context + def send(fd : Int32, request : JSONIPC) + send fd, request.type.to_u8, request.to_json end end