Mercurial > hg > piper
view capnproto/piper.rpc.capnp @ 21:b1ca7b265d24
vamp -> piper for IDL specs
author | Chris Cannam |
---|---|
date | Fri, 07 Oct 2016 14:27:11 +0100 |
parents | capnproto/vamp.rpc.capnp@225ad84ea39b |
children | b587dbe33bad |
line wrap: on
line source
@0xbe97303b9e5b3429; using Cxx = import "/capnp/c++.capnp"; $Cxx.namespace("piper::rpc"); using P = import "piper.capnp"; interface Piper { # RPC interface for use when using Cap'n Proto RPC layer. list @0 (req :P.ListRequest) -> (resp :P.ListResponse); load @1 (req :P.LoadRequest) -> (resp :P.LoadResponse); configure @2 (req :P.ConfigurationRequest) -> (resp :P.ConfigurationResponse); process @3 (req :P.ProcessRequest) -> (resp :P.ProcessResponse); finish @4 (req :P.FinishRequest) -> (resp :P.FinishResponse); }