2010-04-26 18:11:46 -07:00
|
|
|
include protocol PTestDescSub;
|
|
|
|
include protocol PTestDescSubsub;
|
2009-10-19 19:12:25 -07:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace _ipdltest {
|
|
|
|
|
2010-05-22 12:35:34 -07:00
|
|
|
rpc protocol PTestDesc {
|
2009-10-19 19:12:25 -07:00
|
|
|
manages PTestDescSub;
|
|
|
|
child:
|
2010-05-22 12:35:34 -07:00
|
|
|
rpc PTestDescSub(nullable PTestDescSubsub dummy);
|
2009-10-19 19:12:25 -07:00
|
|
|
|
|
|
|
Test(PTestDescSubsub a);
|
|
|
|
|
2010-07-15 12:27:43 -07:00
|
|
|
__delete__();
|
|
|
|
|
2009-10-19 19:12:25 -07:00
|
|
|
parent:
|
|
|
|
Ok(PTestDescSubsub a);
|
|
|
|
|
|
|
|
|
2010-07-15 12:27:43 -07:00
|
|
|
state CONSTRUCT:
|
|
|
|
call PTestDescSub goto TEST;
|
|
|
|
state TEST:
|
2009-10-19 19:12:25 -07:00
|
|
|
send Test goto ACK;
|
|
|
|
state ACK:
|
2010-07-15 12:27:43 -07:00
|
|
|
recv Ok goto DEAD;
|
|
|
|
state DEAD:
|
|
|
|
send __delete__;
|
2009-10-19 19:12:25 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|