annotate capnp/piper.rpc.capnp @ 216:72a3b8faba89
tip master
programParameters should not have a pattern enforced on its keys - a program name can be anything
author |
Chris Cannam <cannam@all-day-breakfast.com> |
date |
Wed, 08 Apr 2020 14:57:24 +0100 |
parents |
eac8b499c018 |
children |
|
rev |
line source |
c@174
|
1 @0xbe97303b9e5b3429;
|
c@174
|
2
|
c@174
|
3 using Cxx = import "/capnp/c++.capnp";
|
c@174
|
4 $Cxx.namespace("piper::rpc");
|
c@174
|
5
|
c@174
|
6 using P = import "piper.capnp";
|
c@174
|
7
|
c@174
|
8 interface Piper {
|
c@174
|
9 # RPC interface for use when using Cap'n Proto RPC layer.
|
c@174
|
10 list @0 (listRequest :P.ListRequest) -> (listResponse :P.ListResponse);
|
c@174
|
11 load @1 (loadRequest :P.LoadRequest) -> (loadResponse :P.LoadResponse);
|
c@174
|
12 configure @2 (configurationRequest :P.ConfigurationRequest) -> (configurationResponse :P.ConfigurationResponse);
|
c@174
|
13 process @3 (processRequest :P.ProcessRequest) -> (processResponse :P.ProcessResponse);
|
c@174
|
14 finish @4 (finishRequest :P.FinishRequest) -> (finishResponse :P.FinishResponse);
|
c@174
|
15 }
|
c@174
|
16
|