@@ -0,0 +1,2037 @@
+package transfertcp;%0A%0A/**%0A *%0A * @author JoseCaceres%0A */%0Apublic class ListaClienteServidor %7B%0A    private nodoClienteServidor cab, recor;%0A%0A    public ListaClienteServidor()%7B%0A        cab = null;    %0A    %7D%0A    %0A    public void add(nodoClienteServidor dato)%7B%0A        if(cab == null)%0A            cab = dato;%0A        else %7B%0A            recor = cab;%0A            while(recor.getSuc() != null)%7B%0A                recor = recor.getSuc();%0A            %7D%0A            recor.setSuc(dato);%0A        %7D%0A    %7D%0A    %0A    public synchronized void eliminarDescarga(String nombre) %7B%0A      recor = cab;%0A      nodoClienteServidor eliminar;%0A      while(recor != null)%7B%0A          if(recor.getTipo().compareTo(%22DD%22) == 0) %7B%0A              if(recor.getNombre().compareTo(nombre) == 0) %7B%0A                  recor.setInterrumpir(true);%0A                  eliminar = recor; %0A              %7D%0A          %7D%0A           recor = recor.getSuc();%0A           eliminar = null;%0A      %7D%0A    %7D%0A    %0A    public synchronized void cerrarConexiones()%7B%0A        if(cab != null)%7B%0A            recor = cab;%0A            while(recor != null)%7B%0A                recor.cerrarConexion();%0A                recor = recor.getSuc();%0A            %7D%0A        %7D%0A    %7D%0A    %0A    public synchronized void eliminarDescargados()%7B%0A        recor = cab;%0A        nodoClienteServidor eliminar= null;%0A        while(recor != null)%7B%0A            if(recor.isDescargado()) %7B%0A                eliminar = recor;%0A               %0A            %7D%0A            %0A            if(recor == cab && eliminar == recor) %7B%0A                cab = recor.getSuc();%0A            %7D%0A            %0A            recor = recor.getSuc();%0A            %0A            %0A            eliminar = null;%0A        %7D%0A    %7D%0A%0A    public void update(int pos) %7B%0A        if(cab != null)%7B%0A            recor = cab;%0A            while(recor != null)%7B%0A                if(recor.getTipo() != null) %7B%0A                    if(recor.getTipo().compareTo(%22AA%22) == 0)%0A                    recor.update(pos);%0A                %7D%0A                recor = recor.getSuc();%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A%0A%0A

Create ListaClienteServidor.java