Mercurial > hg > piper-cpp
diff capnproto/vamp.rpc.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 | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/capnproto/vamp.rpc.capnp Fri Oct 07 12:07:17 2016 +0100 @@ -0,0 +1,16 @@ +@0xbe97303b9e5b3429; + +using Cxx = import "/capnp/c++.capnp"; +$Cxx.namespace("vampipe::rpc"); + +using Vamp = import "vamp.capnp"; + +interface Piper { + # RPC interface for use when using Cap'n Proto RPC layer. + list @0 (req :Vamp.ListRequest) -> (resp :Vamp.ListResponse); + load @1 (req :Vamp.LoadRequest) -> (resp :Vamp.LoadResponse); + configure @2 (req :Vamp.ConfigurationRequest) -> (resp :Vamp.ConfigurationResponse); + process @3 (req :Vamp.ProcessRequest) -> (resp :Vamp.ProcessResponse); + finish @4 (req :Vamp.FinishRequest) -> (resp :Vamp.FinishResponse); +} +