Scribble Problem Set Javadocs

cs101.net
Class DefaultReadLoop

java.lang.Object
  extended bycs101.net.DefaultReadLoop
All Implemented Interfaces:
java.lang.Runnable

public class DefaultReadLoop
extends java.lang.Object
implements java.lang.Runnable

A generic read loop for a client.

Copyright (c) 1998 Massachusetts Institute of Technology

Version:
$Id: DefaultReadLoop.java,v 1.1.1.1 2002/06/05 21:56:32 root Exp $
Author:
Todd C. Parnell, tparnell@ai.mit.edu, Lynn Andrea Stein, las@ai.mit.edu
See Also:
Client

Field Summary
protected  Client client
          Communicates with the network.
protected  java.lang.Thread spirit
          Animates this object.
 
Constructor Summary
DefaultReadLoop(Client c)
          A generic read loop for client.
 
Method Summary
 void run()
          Called by this object's thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected Client client
Communicates with the network.


spirit

protected java.lang.Thread spirit
Animates this object.

Constructor Detail

DefaultReadLoop

public DefaultReadLoop(Client c)
A generic read loop for client.

See Also:
Client
Method Detail

run

public void run()
Called by this object's thread. Shouldn't be called otherwise.

Specified by:
run in interface java.lang.Runnable

Scribble Problem Set Javadocs