|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
| Client | Interface to network client and servers. |
| Handler | |
| Class Summary | |
| GameServer | A simple class template. |
| NetClient | Base class for network client protocol. |
| NetServer | Base class for network server protocol. |
| ObserverClient | This is a turn client that is incapable of taking game actions, suitable for instructors and other lurkers. |
| TurnClient | This is the turn client for DLUG. |
| TurnServer | This is the turn server for DLUG. |
| TutorialServer | This is the turn server for DLUG. |
| Venue | Encapsulates a running game server. |
Provides support for client/server networking layer. This package contains the networking infrastructure for the clients and servers. The client-server interface is a general-puropses text-based request system. Clients connect to servers using well-known ports and send commands which are simply lines of text. Both the clients and servers use an action handler paradigm to determine how to handle a command. Given the name of the command (the first identifier on the input line) the client or server invokes a piece of code that is registered to deal with that command, much like an event handler listens for events in a graphical environment.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||