diff capnproto/vamp.capnp @ 70:302a8e35248c

Begin capnp RPC test
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 07 Oct 2016 12:07:17 +0100
parents a5ba837bca28
children
line wrap: on
line diff
--- a/capnproto/vamp.capnp	Thu Oct 06 14:33:12 2016 +0100
+++ b/capnproto/vamp.capnp	Fri Oct 07 12:07:17 2016 +0100
@@ -161,12 +161,19 @@
     handle             @0  :Int32;
 }
 
+struct FinishResponse {
+    handle             @0  :Int32;
+    features           @1  :FeatureSet;
+}
+
 struct Error {
     code               @0  :Int32;
     message            @1  :Text;
 }
 
 struct RpcRequest {
+    # Request bundle for use when using Cap'n Proto serialisation without
+    # Cap'n Proto RPC layer.
     request :union {
 	list           @0  :ListRequest;
 	load           @1  :LoadRequest;
@@ -177,13 +184,15 @@
 }
 
 struct RpcResponse {
+    # Response bundle for use when using Cap'n Proto serialisation without
+    # Cap'n Proto RPC layer.
     response :union {
         error          @0  :Error;
 	list           @1  :ListResponse;
 	load           @2  :LoadResponse;
 	configure      @3  :ConfigurationResponse;
 	process        @4  :ProcessResponse;
-	finish         @5  :ProcessResponse;
+	finish         @5  :FinishResponse;
     }
 }