Class Console

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----Console

public class Console
extends Thread

Variable Index

 o in
 o nickName
 o out

Constructor Index

 o Console(Socket)
 o Console(Socket, String)

Method Index

 o finalize()
 o run()
 o send(String)

Variables

 o in
 protected BufferedReader in
 o out
 protected PrintWriter out
 o nickName
 protected String nickName

Constructors

 o Console
 public Console(Socket socket)
 o Console
 public Console(Socket socket,
                String nickName)

Methods

 o run
 public void run()
Overrides:
run in class Thread
 o send
 public void send(String line)
 o finalize
 public void finalize()
Overrides:
finalize in class Object