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