maddany
Class ChatListener

java.lang.Object
maddany.ChatListener
- All Implemented Interfaces:
- java.lang.Runnable
- public class ChatListener
- extends java.lang.Object
- implements java.lang.Runnable
|
Method Summary |
void |
run()
This method will be called by whoever wishes to run your class
implementing Runnable. |
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
private Wakable parent
ssock
private java.net.ServerSocket ssock
runner
private java.lang.Thread runner
ChatListener
public ChatListener(int port,
Wakable parent)
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable
stop
public void stop()