Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

Server::Runnable Class Reference

This class implements the body of the thread that is run for each client that connects to an MPS interface server. More...

Collaboration diagram for Server::Runnable:

Collaboration graph
[legend]
List of all members.

Private Methods

public ConnectionThread (Socket sock, Server server)
public void run ()

Private Attributes

private Socket sock
private Server server

Detailed Description

This class implements the body of the thread that is run for each client that connects to an MPS interface server.

Definition at line 296 of file Server.java.


Member Function Documentation

public Server::Runnable::ConnectionThread ( Socket sock,
Server server ) [inline, private]
 

Definition at line 302 of file Server.java.

public void Server::Runnable::run ( ) [inline, private]
 

The main body of the thread.

Read requests from the InputStream until end-of-file, and dispatch on each request as it comes in using the dispatch method in our enclosing class, org.hebe.mps.Server.

Author(s):
Tony Garnock-Jones <tonyg@kcbbs.gen.nz>
See also:
org.hebe.mps.Server

Definition at line 316 of file Server.java.


Member Data Documentation

private Server Server::Runnable::server [private]
 

Server we are acting on behalf of.

Definition at line 300 of file Server.java.

private Socket Server::Runnable::sock [private]
 

Socket that connects us to our client.

Definition at line 298 of file Server.java.


The documentation for this class was generated from the following file:
Generated at Wed Aug 15 01:05:35 2001 for mps-java by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001