Example #1
0
 protected void userListHandler(UserThread client, CSMessage msg)
 {
     try
     {
         List <CSUser> users = (List <CSUser>)msg.get(MessageType.USER_LIST);
         users.Remove(client.ClientUser);
         if (view.isOpened())
         {
             view.userListHandler(users);
         }
     }
     catch (Exception e)
     {
         log(Severiry.ERROR, "Controller [UserList] - " + e.Message);
     }
 }