root / branches / MULTITHREADING_DEVELOPMENT / extensions / extWMS / src / com / iver / cit / gvsig / fmap / drivers / wms / WMSOperations.java @ 5393
History | View | Annotate | Download (3.4 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*
|
19 |
* For more information, contact:
|
20 |
*
|
21 |
* Generalitat Valenciana
|
22 |
* Conselleria d'Infraestructures i Transport
|
23 |
* Av. Blasco Ib??ez, 50
|
24 |
* 46010 VALENCIA
|
25 |
* SPAIN
|
26 |
*
|
27 |
* +34 963862235
|
28 |
* gvsig@gva.es
|
29 |
* www.gvsig.gva.es
|
30 |
*
|
31 |
* or
|
32 |
*
|
33 |
* IVER T.I. S.A
|
34 |
* Salamanca 50
|
35 |
* 46005 Valencia
|
36 |
* Spain
|
37 |
*
|
38 |
* +34 963163400
|
39 |
* dac@iver.es
|
40 |
*/
|
41 |
|
42 |
/* CVS MESSAGES:
|
43 |
*
|
44 |
* $Id: WMSOperations.java 5393 2006-05-24 10:41:19Z jaume $
|
45 |
* $Log$
|
46 |
* Revision 1.1.2.3 2006-05-24 10:41:19 jaume
|
47 |
* *** empty log message ***
|
48 |
*
|
49 |
* Revision 1.1.2.2 2006/05/22 12:19:06 jaume
|
50 |
* *** empty log message ***
|
51 |
*
|
52 |
* Revision 1.1.2.1 2006/05/18 22:50:44 jaume
|
53 |
* *** empty log message ***
|
54 |
*
|
55 |
* Revision 1.1.2.3 2006/05/18 17:20:42 jaume
|
56 |
* *** empty log message ***
|
57 |
*
|
58 |
* Revision 1.1.2.2 2006/05/17 17:21:06 jaume
|
59 |
* *** empty log message ***
|
60 |
*
|
61 |
* Revision 1.1.2.1 2006/05/16 17:09:37 jaume
|
62 |
* *** empty log message ***
|
63 |
*
|
64 |
*
|
65 |
*/
|
66 |
package com.iver.cit.gvsig.fmap.drivers.wms; |
67 |
|
68 |
import java.io.File; |
69 |
|
70 |
import org.gvsig.remoteClient.taskplanning.retrieving.RetrieveEvent; |
71 |
import org.gvsig.remoteClient.wms.WMSClient; |
72 |
|
73 |
public interface WMSOperations { |
74 |
public static final int GET_CAPABILITIES = WMSClient.GET_CAPABILITIES; |
75 |
public static final int GET_MAP = WMSClient.GET_MAP; |
76 |
public static final int GET_FEATURE_INFO = WMSClient.GET_FEATURE_INFO; |
77 |
|
78 |
/**
|
79 |
* The task has finished the request.
|
80 |
*/
|
81 |
public static final int REQUEST_FINISHED = RetrieveEvent.REQUEST_FINISHED; |
82 |
|
83 |
/**
|
84 |
* The request was cancelled by somewho.
|
85 |
*/
|
86 |
public static final int REQUEST_CANCELED = RetrieveEvent.REQUEST_CANCELED; |
87 |
|
88 |
/**
|
89 |
* The request failed retreiving.
|
90 |
*/
|
91 |
public static final int REQUEST_FAILED = RetrieveEvent.REQUEST_FAILED; |
92 |
|
93 |
/**
|
94 |
* The task has started the execution and it is attempting to connect.
|
95 |
*/
|
96 |
public static final int REQUEST_STARTED = RetrieveEvent.CONNECTING; |
97 |
|
98 |
/**
|
99 |
* The task has connected and it is transferring data.
|
100 |
*/
|
101 |
public static final int REQUEST_TRANSFERRING = RetrieveEvent.TRANSFERRING; |
102 |
|
103 |
/**
|
104 |
* When the url is not valid.
|
105 |
*/
|
106 |
public static final int REQUEST_FAILED_INVALID_URL = RetrieveEvent.REQUEST_FAILED_INVALID_URL; |
107 |
|
108 |
/**
|
109 |
* No route to the host.
|
110 |
*/
|
111 |
public static final int REQUEST_FAILED_UNKNOWN_HOST = RetrieveEvent.REQUEST_FAILED_UNKNOWN_HOST; |
112 |
|
113 |
/**
|
114 |
* No answer from the host, or the connection was refused.
|
115 |
*/
|
116 |
public static final int REQUEST_FAILED_CONNECTION_REFUSED = RetrieveEvent.REQUEST_FAILED_CONNECTION_REFUSED; |
117 |
public abstract void getMap(int eventType, File mapFile, String message); |
118 |
public abstract void getCapabilities(int eventType, String message); |
119 |
public abstract void getFeatureInfo(int eventType, String message); |
120 |
} |