summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl
blob: 6322bb1a3eb83d2b3799e554e08443582346772d (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
25
26
27
28
29
30
31
32
33
34
include protocol PTestMultiMgrsLeft;
include protocol PTestMultiMgrsRight;

namespace mozilla {
namespace _ipdltest {

protocol PTestMultiMgrs {
    manages PTestMultiMgrsLeft;
    manages PTestMultiMgrsRight;

parent:
    async OK();

child:
    async PTestMultiMgrsLeft();
    async PTestMultiMgrsRight();
    async Check();
    async __delete__();

state START:
    send PTestMultiMgrsLeft goto CONSTRUCT_RIGHT;
state CONSTRUCT_RIGHT:
    send PTestMultiMgrsRight goto CHILD_CHECK;
state CHILD_CHECK:
    send Check goto CHILD_ACK;
state CHILD_ACK:
    recv OK goto DONE;

state DONE:
    send __delete__;
};

} // namespace _ipdltest
} // namespace mozilla