CSPP 51090 Software Construction Assignment 8

Due: 5:00pm May 27, 2003

Adapt the administrator so that remote sites can register players. [8pts]

Adapt the players so that they can register and play with a remote Bazaar server. [8pts]

For now, test your new system on a local machine. Use port 7000 to communicate via TCP sockets. The specification for the interactions protocol for remote servers and players consists of two parts:

  1. a precise specification of the text messages
  2. a precise specification of the message exchanges
The message sequences are subject to the same contracts as the administrator, player, and turn interfaces. Your clients and server must adhere to this protocol so that they can interact with the respective components from other teams.

Hints: First, develop the programs that can translate method calls into text messages and text messages into method calls. Second, if you are comfortable with threads in your chosen language, develop a proxy pattern for the interaction between players and turns, leaving the rest alone. Then (third) develop the remote registration mechanism.



CSPP 51090 Software Construction