Class Chat
java.lang.Object
|
+--Process
|
+--Chat
- All Implemented Interfaces:
- MsgHandler
- public class Chat
- extends Process
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chat
public Chat(Linker initComm)
handleMsg
public void handleMsg(Msg m,
int src,
java.lang.String tag)
- Overrides:
handleMsg
in class Process
getUserInput
public java.lang.String getUserInput(java.io.BufferedReader din)
throws java.lang.Exception
getDest
public IntLinkedList getDest(java.io.BufferedReader din)
throws java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception