Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
5acea95284f6afc977f232a79addcbc065efa039
[simgrid.git] / examples / gras / rpc / test_rl
1 & $SG_TEST_EXENV ./rpc_server$EXEEXT 4002 --log=root.fmt:%m%n $@
2 > Launch server (port=4002)
3 > Listening on port 4002
4 > Got message PING(1234) from 127.0.0.1:0
5 > Answered with PONG(4321)
6 > Asked to die by 127.0.0.1:0
7 > Done.
8 > Exiting GRAS
9
10 & $SG_TEST_EXENV ./rpc_forwarder$EXEEXT 4003 127.0.0.1 4002 --log=root.fmt:%m%n $@
11 > Launch forwarder (port=4003)
12 > Forward a request
13 > Forward a request
14 > Forward a request
15 > Forward a request
16 > Forward a request
17 > Asked to die by 127.0.0.1:0
18 > Done.
19 > Exiting GRAS
20
21 & $SG_TEST_EXENV ./rpc_client$EXEEXT 127.0.0.1 4002 127.0.0.1 4003 --log=root.fmt:%m%n $@
22 > Launch client (server on 127.0.0.1:4002)
23 > Connected to 127.0.0.1:4002.
24 > Connected to server which is on 127.0.0.1:4002
25 > The answer to PING(1234) on 127.0.0.1:4002 is PONG(4321)
26 > Call the exception raising RPC
27 > Got the expected exception when calling the exception raising RPC
28 > Called the exception raising RPC
29 > Call the exception raising RPC (i=0)
30 > Call the exception raising RPC (i=1)
31 > Call the exception raising RPC (i=2)
32 > Call the exception raising RPC (i=3)
33 > Call the exception raising RPC (i=4)
34 > Call the exception raising RPC on the forwarder (i=0)
35 > Got the expected exception when calling the exception raising RPC
36 > Call the exception raising RPC on the forwarder (i=1)
37 > Got the expected exception when calling the exception raising RPC
38 > Call the exception raising RPC on the forwarder (i=2)
39 > Got the expected exception when calling the exception raising RPC
40 > Call the exception raising RPC on the forwarder (i=3)
41 > Got the expected exception when calling the exception raising RPC
42 > Call the exception raising RPC on the forwarder (i=4)
43 > Got the expected exception when calling the exception raising RPC
44 > Ask 127.0.0.1:4003 to die
45 > Ask 127.0.0.1:4002 to die
46 > Done.
47 > Exiting GRAS