summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestRPC.ipdl
blob: 4d459eeb032b43e4ab044395bedc4e990ddfe67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include "mozilla/_ipdltest/TestRPC.h";

namespace mozilla {
namespace _ipdltest {

[ManualDealloc, NestedUpTo=inside_sync, ChildImpl="TestRPCChild", ParentImpl="TestRPCParent"]
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