Class server_writer
java.lang.Object
|
+----java.lang.Thread
|
+----server_writer
class server_writer extends Thread
Constructors
- server_writer - public server_writer(server s)
- Assigns the server object passed to a local server object. This allows the writer to call the display class in the server 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.