Although there are many Ping-Pongs examples and all this might sound confusing, just remember there are three basic steps in the Ping-Pong examples:
The steps to be taken are summarized in the table below for the by-value
example. When steps are shown in the same row of the table, the
respective order is immaterial. However, you should complete both steps
in a row before moving on to the next row.
Ping (client machine) | Pong (server machine) |
SstPingPongByValue setupPing: 'tcp/ping.com:4567' pinging: 'tcp/pong.com:4567' |
SstPingPongByValue setupPong: 'tcp/pong.com:4567' ponging: 'tcp/ping.com:4567' |
SstPingPongByValue createPingAndPong start: 3 with: #(1 2) |
|
SstPingPongByValue cleanUpPingPong |
SstPingPongByValue cleanUpPingPong |
Note that the SstPingPong class comment has more details about what each example does and how it is run. The class comment also describes the expected output and several options you can load into the examples.