Class RMIChatClient
java.lang.Object
|
+--RMIChatClient
- public class RMIChatClient
- extends java.lang.Object
- implements java.lang.Runnable, java.awt.event.ActionListener
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
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
RMIChatClient
public RMIChatClient(java.lang.String host)
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