ipc/ipdl/test/cxx/PTestSyncError.ipdl

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     2 namespace mozilla {
     3 namespace _ipdltest {
     6 sync protocol PTestSyncError {
     8 child:
     9     Start();
    11 parent:
    12     sync Error();
    13     __delete__();
    16 state START:
    17     send Start goto SYNC_ERROR;
    19 state SYNC_ERROR:
    20     recv Error goto DEAD;
    22 state DEAD:
    23     recv __delete__;
    24 };
    27 } // namespace mozilla
    28 } // namespace _ipdltest

mercurial