Revision 5378 branches/MULTITHREADING_DEVELOPMENT/libraries/libRemoteServices/src/org/gvsig/remoteClient/taskplanning/retrieving/RetrieveEvent.java
RetrieveEvent.java | ||
---|---|---|
31 | 31 |
/** |
32 | 32 |
* The request failed retreiving. |
33 | 33 |
*/ |
34 |
public static final int REQUEST_FAILED = 4; |
|
34 |
public static final int REQUEST_FAILED = -4;
|
|
35 | 35 |
|
36 | 36 |
/** |
37 | 37 |
* The request was cancelled by somewho. |
38 | 38 |
*/ |
39 |
public static final int REQUEST_CANCELED = 5; |
|
39 |
public static final int REQUEST_CANCELED = -5;
|
|
40 | 40 |
|
41 | 41 |
/** |
42 | 42 |
* The task is postprocessing the request. For instance, it is closing the connection. |
... | ... | |
44 | 44 |
public static final int POSTPROCESSING = 6; |
45 | 45 |
|
46 | 46 |
/** |
47 |
* The task returned a non communication error but a server-kind specific error.
|
|
47 |
* The task returned a non communication error but a protocol specific error.
|
|
48 | 48 |
*/ |
49 |
public static final int ERROR = 11; |
|
49 |
public static final int ERROR = -11; |
|
50 |
|
|
51 |
/** |
|
52 |
* When the url is not valid. |
|
53 |
*/ |
|
54 |
public static final int REQUEST_FAILED_INVALID_URL = -7; |
|
55 |
|
|
56 |
/** |
|
57 |
* No route to the host. |
|
58 |
*/ |
|
59 |
public static final int REQUEST_FAILED_UNKNOWN_HOST = -8; |
|
60 |
|
|
61 |
/** |
|
62 |
* No answer from the host, or the connection was refused. |
|
63 |
*/ |
|
64 |
public static final int REQUEST_FAILED_CONNECTION_REFUSED = -9; |
|
50 | 65 |
|
51 | 66 |
private int eventType; |
52 | 67 |
private String fileName; |
Also available in: Unified diff