Mercurial > hg > piper-cpp
comparison 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 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 69:91fda9470ee2 | 70:302a8e35248c | 
|---|---|
| 1 @0xbe97303b9e5b3429; | |
| 2 | |
| 3 using Cxx = import "/capnp/c++.capnp"; | |
| 4 $Cxx.namespace("vampipe::rpc"); | |
| 5 | |
| 6 using Vamp = import "vamp.capnp"; | |
| 7 | |
| 8 interface Piper { | |
| 9 # RPC interface for use when using Cap'n Proto RPC layer. | |
| 10 list @0 (req :Vamp.ListRequest) -> (resp :Vamp.ListResponse); | |
| 11 load @1 (req :Vamp.LoadRequest) -> (resp :Vamp.LoadResponse); | |
| 12 configure @2 (req :Vamp.ConfigurationRequest) -> (resp :Vamp.ConfigurationResponse); | |
| 13 process @3 (req :Vamp.ProcessRequest) -> (resp :Vamp.ProcessResponse); | |
| 14 finish @4 (req :Vamp.FinishRequest) -> (resp :Vamp.FinishResponse); | |
| 15 } | |
| 16 | 
