Revision 5393 branches/MULTITHREADING_DEVELOPMENT/extensions/extWMS/src/com/iver/cit/gvsig/fmap/drivers/wms/WMSOperations.java

View differences:

WMSOperations.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.1.2.2  2006-05-22 12:19:06  jaume
46
* Revision 1.1.2.3  2006-05-24 10:41:19  jaume
47 47
* *** empty log message ***
48 48
*
49
* Revision 1.1.2.2  2006/05/22 12:19:06  jaume
50
* *** empty log message ***
51
*
49 52
* Revision 1.1.2.1  2006/05/18 22:50:44  jaume
50 53
* *** empty log message ***
51 54
*
......
68 71
import org.gvsig.remoteClient.wms.WMSClient;
69 72

  
70 73
public interface WMSOperations {
71
	public static final int GET_CAPABILITIES		= WMSClient.GET_CAPABILITIES;
72
	public static final int GET_MAP 				= WMSClient.GET_MAP;
73
	public static final int GET_FEATURE_INFO 		= WMSClient.GET_FEATURE_INFO;
74
	public static final int REQUEST_FINISHED 		= RetrieveEvent.REQUEST_FINISHED;
75
	public static final int REQUEST_CANCELED 		= RetrieveEvent.REQUEST_CANCELED;
76
	public static final int REQUEST_FAILED 			= RetrieveEvent.REQUEST_FAILED;
77
	public static final int REQUEST_STARTED 		= RetrieveEvent.CONNECTING;
78
	public static final int REQUEST_TRANSFERRING	= RetrieveEvent.TRANSFERRING;
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;
79 117
	public abstract void getMap(int eventType, File mapFile, String message);
80 118
	public abstract void getCapabilities(int eventType, String message);
81 119
	public abstract void getFeatureInfo(int eventType, String message);

Also available in: Unified diff