Class ChatServer

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----EchoServer
                   |
                   +----ChatServer

public class ChatServer
extends EchoServer

Constructor Index

 o ChatServer(int)

Method Index

 o main(String[])
 o receive(String, Connection)

Constructors

 o ChatServer
 public ChatServer(int port)

Methods

 o receive
 public synchronized void receive(String line,
                                  Connection c)
Overrides:
receive in class EchoServer
 o main
 public static void main(String args[])