Class RMIChatClient

java.lang.Object
  |
  +--RMIChatClient

public class RMIChatClient
extends java.lang.Object
implements java.lang.Runnable, java.awt.event.ActionListener


Field Summary
protected  java.awt.Frame frame
           
protected  java.lang.String host
           
protected  java.awt.TextField input
           
protected  java.awt.TextArea output
           
protected  RMIChatServer server
           
protected static int UPDATE_DELAY
           
protected  java.lang.Thread updater
           
 
Constructor Summary
RMIChatClient(java.lang.String host)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
           
static void main(java.lang.String[] args)
           
 void run()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

UPDATE_DELAY

protected static final int UPDATE_DELAY

host

protected java.lang.String host

frame

protected java.awt.Frame frame

input

protected java.awt.TextField input

output

protected java.awt.TextArea output

server

protected RMIChatServer server

updater

protected java.lang.Thread updater
Constructor Detail

RMIChatClient

public RMIChatClient(java.lang.String host)
Method Detail

start

public void start()
           throws java.rmi.RemoteException,
                  java.rmi.NotBoundException

stop

public void stop()

run

public void run()
Specified by:
run in interface java.lang.Runnable

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

main

public static void main(java.lang.String[] args)
                 throws java.rmi.RemoteException,
                        java.rmi.NotBoundException