Example #1
0
 public static Client Initialize(string name, ChatRoom chat)
 {
     return new Client(name, chat);
 }
 public Receiver(TcpClient s, ChatRoom cr)
 {
     comm    = s;
     this.cr = cr;
 }
Example #3
0
 private Client(string name, ChatRoom chat)
 {
     this.Name = name;
     this.chat = chat;
 }
Example #4
0
 public void addToChatRoom(ChatRoom myChat)
 {
     m_Chat = myChat;
 }