Esempio n. 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;
 }
Esempio n. 3
0
 private Client(string name, ChatRoom chat)
 {
     this.Name = name;
     this.chat = chat;
 }
Esempio n. 4
0
 public void addToChatRoom(ChatRoom myChat)
 {
     m_Chat = myChat;
 }