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

Class part3.chapter15.ChatClient

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----part3.chapter15.ChatClient

public class ChatClient
extends Frame
implements Runnable

Variable Index

 o i
 o input
 o listener
 o o
 o output

Constructor Index

 o ChatClient(String, InputStream, OutputStream)

Method Index

 o handleEvent(Event)
 o main(String[])
 o run()

Variables

 o i
  protected DataInputStream i
 o o
  protected DataOutputStream o
 o output
  protected TextArea output
 o input
  protected TextField input
 o listener
  protected Thread listener

Constructors

 o ChatClient
  public ChatClient(String title,
                    InputStream i,
                    OutputStream o)

Methods

 o run
  public void run()
 o handleEvent
  public boolean handleEvent(Event e)
Overrides:
handleEvent in class Component
 o main
  public static void main(String args[]) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index