ipc/ipdl/test/cxx/PTestOpensOpened.ipdl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 namespace mozilla {
     2 namespace _ipdltest2 {
     4 // (Opens protocols can have different semantics than the endpoints
     5 // that opened them)
     6 intr protocol PTestOpensOpened {
     7 child:
     8     Hi();
     9     intr HiRpc();
    11 parent:
    12     Hello();
    13     sync HelloSync();
    14     intr HelloRpc();
    15     __delete__();
    17 state START:       recv Hello goto HI;
    18 state HI:          send Hi goto HELLO_SYNC;
    19 state HELLO_SYNC:  recv HelloSync goto HELLO_RPC;
    20 state HELLO_RPC:   answer HelloRpc goto HI_RPC;
    21 state HI_RPC:      call HiRpc goto DEAD;
    22 state DEAD:
    23     recv __delete__;
    24 };
    27 } // namespace mozilla
    28 } // namespace _ipdltest2

mercurial