Statistics
| Revision:

svn-gvsig-desktop / branches / MULTITHREADING_DEVELOPMENT / libraries / libRemoteServices / src / org / gvsig / remoteClient / taskplanning / retrieving / RetrieveEvent.java @ 5231

History | View | Annotate | Download (771 Bytes)

1
/*
2
 * Created on 01-oct-2005
3
 */
4
package org.gvsig.remoteClient.taskplanning.retrieving;
5

    
6
/**
7
 * @author jaume dominguez faus - jaume.dominguez@iver.es
8
 * Luis W. Sevilla (sevilla_lui@gva.es)
9
 */
10
public class RetrieveEvent {
11
        public static final int NOT_STARTED = 0;
12
        public static final int CONNECTING = 1;
13
        public static final int TRANSFERRING = 2;
14
        public static final int REQUEST_FINISHED = 3;
15
        public static final int REQUEST_FAILED = 4;
16
        public static final int REQUEST_CANCELLED = 5;
17
        public static final int POSTPROCESSING = 6;
18
        
19
        /**
20
         * redundant; use REQUEST_FAILED
21
         * @deprecated ?
22
         */
23
        public static final int ERROR = 11;
24
        
25
        private int eventType;
26
        
27
        public void setType(int type) {
28
                eventType = type;
29
        }
30

    
31
        public int getType() {
32
                return eventType;
33
        }
34
}