filestoraged
now compiles with bindings for libipc version 0.7.
This commit is contained in:
parent
8fe249218f
commit
c8d3cf9e3f
@ -9,7 +9,7 @@ class JSONIPC
|
|||||||
|
|
||||||
property id : JSON::Any?
|
property id : JSON::Any?
|
||||||
|
|
||||||
def handle(service : IPC::Service, event : IPC::Event::Events)
|
def handle(service : IPC::Server, event : IPC::Event::Events)
|
||||||
raise "unimplemented"
|
raise "unimplemented"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -27,9 +27,9 @@ class JSONIPC
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class IPC::Connection
|
class IPC::Context
|
||||||
def send(request : JSONIPC)
|
def send(fd : Int32, request : JSONIPC)
|
||||||
send request.type.to_u8, request.to_json
|
send fd, request.type.to_u8, request.to_json
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user