comparison capnproto/vamp.capnp @ 12:828930f9a65d

Configuration request/response structs
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 17 May 2016 13:52:51 +0100
parents c8451896c40e
children c35d0909a74e
comparison
equal deleted inserted replaced
11:aa61cb5c5754 12:828930f9a65d
145 request :union { 145 request :union {
146 list @0 :Void; 146 list @0 :Void;
147 load @1 :LoadRequest; 147 load @1 :LoadRequest;
148 configure @2 :ConfigurationRequest; 148 configure @2 :ConfigurationRequest;
149 process @3 :ProcessRequest; 149 process @3 :ProcessRequest;
150 finish @4 :Void; # getRemainingFeatures and unload plugin
150 } 151 }
151 } 152 }
152 153
153 struct VampResponse { 154 struct VampResponse {
154 success @0 :Bool; 155 success @0 :Bool;
156 response :union { 157 response :union {
157 list @2 :List(PluginStaticData); 158 list @2 :List(PluginStaticData);
158 load @3 :LoadResponse; 159 load @3 :LoadResponse;
159 configure @4 :ConfigurationResponse; 160 configure @4 :ConfigurationResponse;
160 process @5 :FeatureSet; 161 process @5 :FeatureSet;
162 finish @6 :FeatureSet;
161 } 163 }
162 } 164 }
163 165