June 1999
Intermediate to advanced
368 pages
8h 21m
English
| Exercise 5.1 | Try a loose coupling experiment with the PingPong example: start Ping before Pong. What happens? Now try starting Pong before Ping. What happens? |
| Exercise 5.2 | In the PingPong implementation, add a field to the Ball entry to hold a timestamp. Modify the PingPong code such that, if the player is Ping, a report of the roundtrip time of the message is printed each time a Ball is received from Pong. |
| Exercise 5.3 | How would our PingPong example behave differently if Pong were changed to throw a ball first and then catch a ball (as Pong does)? |
| Exercise 5.4 | In our basic channel implementation of Section 5.4, we noted some drawbacks in how we check for the existence of a channel. Our solution to creating channels ignores another ... |
Read now
Unlock full access