Ejemplo n.º 1
0
 public synchronized void removeClientData(ClientData cd) {
   try {
     clientList.remove(cd);
     clientList.trimToSize();
     sendList();
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
Ejemplo n.º 2
0
 public void removethread(ServerThread st) {
   clientList.remove(st);
   clientList.trimToSize();
 }