summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestDesc.ipdl
blob: 835c8c62d25da095790a968d5a47fe51d2d969c8 (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
include protocol PTestDescSub;
include protocol PTestDescSubsub;

namespace mozilla {
namespace _ipdltest {

intr protocol PTestDesc {
    manages PTestDescSub; 
child:
    intr PTestDescSub(nullable PTestDescSubsub dummy);

    async Test(PTestDescSubsub a);

    async __delete__();

parent:
    async Ok(PTestDescSubsub a);


state CONSTRUCT:
    call PTestDescSub goto TEST;
state TEST:
    send Test goto ACK;
state ACK:
    recv Ok goto DEAD;
state DEAD:
    send __delete__;
};

}
}