Statistics
| Revision:

svn-gvsig-desktop / tmp / trunk / cliente / WorkSpace_WPSClient / extWPSCallejero / src / es / logex / gvsig / streetsmap / ui / events / ConnectionSucceedEvent.java @ 26604

History | View | Annotate | Download (2.4 KB)

1
/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2008 Logica Extrema, S.L. 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
 *   Logica Extrema, S.L.
34
 *   Edif. Sorolla Center
35
 *   Avgda. De les Corts Valencianes, 158 Of.1007
36
 *   46015 Valencia
37
 *   Spain
38
 *
39
 *   +34 963462375
40
 *   info@logex.es
41
 */
42
package es.logex.gvsig.streetsmap.ui.events;
43

    
44
import java.net.URL;
45
import java.util.EventObject;
46

    
47
import es.logex.gvsig.wps.client.WPSClient;
48

    
49
/**
50
 * The Class ConnectionSucceedEvent.
51
 */
52
public class ConnectionSucceedEvent extends EventObject {
53

    
54
        /** The Constant serialVersionUID. */
55
        private static final long serialVersionUID = -9195120774713387094L;
56
        
57
        /** The url. */
58
        private URL url;
59
        
60
        /** The wps client. */
61
        private WPSClient wpsClient;
62
        
63
        /**
64
         * Instantiates a new connection succeed event.
65
         * 
66
         * @param source the source
67
         */
68
        public ConnectionSucceedEvent(Object source) {
69
                super(source);
70
                // TODO Auto-generated constructor stub
71
        }
72
        
73
        /**
74
         * Instantiates a new connection succeed event.
75
         * 
76
         * @param source the source
77
         * @param url the url
78
         * @param wpsClient the wps client
79
         */
80
        public ConnectionSucceedEvent(Object source,URL url, WPSClient wpsClient) {
81
                super(source);
82
                this.url = url;
83
        }
84
        
85
        /**
86
         * Gets the uRL.
87
         * 
88
         * @return the uRL
89
         */
90
        public URL getURL()
91
        {
92
                return this.url;
93
        }
94
        
95
        /**
96
         * Gets the wPS client.
97
         * 
98
         * @return the wPS client
99
         */
100
        public WPSClient getWPSClient()
101
        {
102
                return wpsClient;
103
        }
104
}