Changes

Jump to: navigation, search

IPDL/Five minute example

295 bytes added, 17:22, 13 July 2009
no edit summary
TellValues(StringArray keys, StringArray vals);
state START:
recv Ping goto START;
send Ping goto START;
recv SetValue goto HAVE_VALUES;
state HAVE_VALUES:
recv Ping goto HAVE_VALUES;
send Ping goto HAVE_VALUES;
recv GetValues goto TELLING_VALUES;
state TELLING_VALUE:
send TellValue goto HAVE_VALUES;
state TELLING_VALUES:
send TellValues goto HAVE_VALUES;
};
 
== Hook the IPDL file into our build system ==
 
* Add <code>ipc/ipdl/test-harness</code> to the IPDLDIRS variable in <code>ipc/ipdl/Makefile.in</code>
* Create the file <code>ipc/ipdl/test-harness/ipdl.mk</code> and add the following text to it.
 
IPDLSRCS = \
Test.ipdl \
$(NULL)
Confirm
699
edits

Navigation menu