ipc/ipdl/test/cxx/PTestOpensOpened.ipdl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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