Class part3.chapter15.ChatHandler
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class part3.chapter15.ChatHandler

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----part3.chapter15.ChatHandler

public class ChatHandler
extends Thread

Variable Index

 o handlers
 o i
 o o
 o s

Constructor Index

 o ChatHandler(Socket)

Method Index

 o broadcast(String)
 o run()

Variables

 o s
  protected Socket s
 o i
  protected DataInputStream i
 o o
  protected DataOutputStream o
 o handlers
  protected static Vector handlers

Constructors

 o ChatHandler
  public ChatHandler(Socket s) throws IOException

Methods

 o run
  public void run()
Overrides:
run in class Thread
 o broadcast
  protected static void broadcast(String message)

All Packages  Class Hierarchy  This Package  Previous  Next  Index