Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.remoteclient / src / main / java / org / gvsig / remoteclient / taskplanning / retrieving / package.html @ 40559

History | View | Annotate | Download (2.32 KB)

1
<!--
2

3
    gvSIG. Desktop Geographic Information System.
4

5
    Copyright (C) 2007-2013 gvSIG Association.
6

7
    This program is free software; you can redistribute it and/or
8
    modify it under the terms of the GNU General Public License
9
    as published by the Free Software Foundation; either version 3
10
    of the License, or (at your option) any later version.
11

12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16

17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
    MA  02110-1301, USA.
21

22
    For any additional information, do not hesitate to contact us
23
    at info AT gvsig.com, or visit our website www.gvsig.com.
24

25
-->
26
<body>
27
<h4>Gestor de downloads multihilo</h4>
28
<p>Permite mantener en threads separados las peticiones a servidores remotos
29
(http, ftp, etc), de manera que el flujo normal de ejecuci?n del programa
30
no se quede detenido cuando se realiza una petici?n.</p>
31

    
32
<p>RetrieveManager es el gestor de peticiones. Tiene una tabla de colas
33
 de petici?n que son las que atienden esas peticiones. Se crea una cola
34
 para cada server que se invoque, y esta es la que gestionar? las
35
 peticiones que se realicen a ese server, hasta el fin de la ejecuci?n
36
 del programa.</p>
37
 
38
<p>RetrieveQueue es la clase que realiza las peticiones. Mantiene las
39
prioridades, resuelve los timeouts, etc. Solo mantiene una petici?n
40
'activa' simultaneamente. Las dem?s esperan a que esta termine.</p>
41

    
42
<p>Retriever es la clase 'petici?n' propiamente dicha. Habla con el server,
43
se baja los datos, y le comunica al listener lo que est? pasando</p>
44

    
45
<p>RetrieveRequest es la clase que contiene los datos de la conexi?n. En
46
principio permite GET y POST sobre HTTP, pero se puede extender si hace
47
falta algo distinto</p>
48

    
49
<p>RetrieveListener es el interface que implementa el objeto que vaya a
50
monitorizar el progreso del Retriever, y el que deber? actuar en consecuencia.</p>
51

    
52
<p>RetrieveEvent es la clase mediante la que se notifica al Listener
53
la evoluci?n de la petici?n.</p>
54

    
55
<p>RetrieveException excepci?n gen?rica de este package.</p>
56
</body>