comparison tests/test-batching.py.out @ 14621:84094c0d2724

wireproto: add basic command batching infrastructure Note that localbatch will not be used until we actually have a localpeer to use it with.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Tue, 14 Jun 2011 22:51:26 +0200
parents
children e2fc2122029c
comparison
equal deleted inserted replaced
14620:2b9c32929e62 14621:84094c0d2724
1
2 == Local
3 Ready.
4 Un and Deux
5 Eins und Zwei
6 One and Two
7 Nope
8 Eins und Zwei
9 Hello, John Smith
10 Ready.
11 Uno und Due
12
13 == Remote
14 Ready.
15 REQ: foo?one=Vo&two=Efvy
16 -> Vo!boe!Efvy
17 Un and Deux
18 REQ: bar?b=Fjot&a=[xfj
19 -> Fjot!voe![xfj
20 Eins und Zwei
21 REQ: batch?cmds=foo:one=Pof,two=Uxp;bar:b=Fjot,a=[xfj
22 -> Pof!boe!Uxp;Fjot!voe![xfj
23 REQ: greet?name=Kpio!Tnjui
24 -> Ifmmp-!Kpio!Tnjui
25 REQ: batch?cmds=bar:b=Vop,a=Evf
26 -> Vop!voe!Evf
27 One and Two
28 Nope
29 Eins und Zwei
30 Hello, John Smith
31 Ready.
32 Uno und Due