Global Positioning System Reference
In-Depth Information
Figure12.3. The four-layer architecture with a sequence of methods.
After the initialization, the player is ready to enter the scenario, the
game:
final protected boolean enterScenario()
// = protected boolean enterGame()
{ ... roApp.enter( this.getRemotePlayer() ); }
Before the architect turns to the actual game implementation (wait for
all players to enter and start the game) and implements the player moves,
he creates an overview of the first phase in a sequence diagram (see Fig-
ure 12.3).
The diagram shows the four-layer architecture in a sequential manner
with time flowing from top to bottom. The four layers are RealObject and
LCPlayer on the client and ROServer and LondonChase on the server side.
Each class has a corresponding remote implementation for call backs. The
construction reveals that the initial communication, like identification with
.identify on page 147, is pre-implemented between the RealObjectsServer
 
Search WWH ::




Custom Search