summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestSanity.ipdl
blob: 50249b7414ebe0b1b6e9b4bd9473cbb34e213510 (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

namespace mozilla {
namespace _ipdltest {


protocol PTestSanity {

child:
    async Ping(int zero, float zeroPtFive, int8_t dummy);
    async __delete__();

parent:
    async Pong(int one, float zeroPtTwoFive, uint8_t dummy);


state PING:
    send Ping goto PONG;

state PONG:
    recv Pong goto DEAD;

state DEAD:
    send __delete__;
};


} // namespace mozilla
} // namespace _ipdltest