Tik-76.115 Individual Project: Guinea Pig
$Id: server_classes.html,v 1.1 1996/03/04 14:31:42 kepa Exp $
Testee UI - GUI server process classes
This document describes the classes that implement Testee
UI functionality used in GUI server process.
General overview
Parts of Testee UI functionality run in three different
processes. The GUI server process is responsible for
starting a GUI process on (protentially) remote machine.
It receives commands from Test Logic that tell which GUI
process to start.
Here's the general process and communication framework.
(Things described in this document are drawn in black):
Classes and interfaces
The Test Logic process contains gui_server class, which
is responsible for handling socket communications with Test
Logic process and starting up the GUI process Test Logic wants.
The GUI names are not hardcoded, so you can add a new gui
without changing anything in GUI server. All you have to do
is to make sure your module is in a directory listed in the Python
module load PATH (PYTHONPATH environment variable specifies it).
Your module should be able to specify the socket port it uses
with the -s portnumber argument. Here's an example how GUI
server starts a new process:
python ab.py -s 20050
Here are the GUI server classes (exactly one of them):
Communication protocols used
Use the GUI server protocol
documentation to find out about the
communication protocol used between the Test Logic and GUI
server processes.
·
Testee UI Architecture
·
Testee UI Index
·
Document index
·
Guinea Pig
·