summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestRPC.ipdl
blob: f51ee2735dcd5d2b9b31e2bfc3c8813e7bd572a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
namespace mozilla {
namespace _ipdltest {

nested(upto inside_sync) sync protocol PTestRPC
{
parent:
    nested(inside_sync) sync Test1_Start() returns (uint32_t result);
    nested(inside_sync) sync Test1_InnerEvent() returns (uint32_t result);
    async Test2_Start();
    nested(inside_sync) sync Test2_OutOfOrder();

child:
    async Start();
    nested(inside_sync) sync Test1_InnerQuery() returns (uint32_t result);
    nested(inside_sync) sync Test1_NoReenter() returns (uint32_t result);
    nested(inside_sync) sync Test2_FirstUrgent();
    nested(inside_sync) sync Test2_SecondUrgent();
};

} // namespace _ipdltest
} // namespace mozilla