Class Writer
java.lang.Object
|
+----java.lang.Thread
|
+----writer
class writer extends Thread
Constructors
- writer - public writer(client c)
- Assigns the client object passed to a local client object. This allows the writer to call the display class in the client thread.
Methods
- run - public void run() Overrides: run in class Thread
- Continually reads from the network, signals the display class if any network activity occurs. Waits for the display function to finish before reading the network again.