Exemple #1
0
 public void sendMessage(string msg, AbsUser user)
 {
     foreach (AbsUser u in this.users)
     {
         if (u != user)
         {
             u.receive(msg);
         }
     }
 }
Exemple #2
0
 public void addUser(AbsUser user)
 {
     this.users.Add(user);
 }