Revision 3132 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/WMSClient.java
WMSClient.java | ||
---|---|---|
55 | 55 |
* @author Jaume |
56 | 56 |
* @author Laura Diaz |
57 | 57 |
*/ |
58 |
public class WMSClient extends RemoteServiceDriver implements ServiceClient
|
|
58 |
public class WMSClient //extends RemoteServiceDriver //implements ServiceClient
|
|
59 | 59 |
{ |
60 | 60 |
WMSDriver wms; |
61 | 61 |
|
62 |
public String getName() { return "WMSDriver"; }
|
|
62 |
public String getName() { return "WMSClient"; }
|
|
63 | 63 |
|
64 | 64 |
/** |
65 | 65 |
* Sets the server that we want to connect to. |
... | ... | |
67 | 67 |
* @param host |
68 | 68 |
*/ |
69 | 69 |
public void setHost(String host){ |
70 |
super.setHost(host);
|
|
71 |
setServiceName("WMS"); |
|
70 |
wms.setHost(host);
|
|
71 |
wms.setServiceName("WMS");
|
|
72 | 72 |
} |
73 | 73 |
|
74 | 74 |
/** |
... | ... | |
173 | 173 |
//wms = new WMSClient(getHost()); // |
174 | 174 |
try { |
175 | 175 |
wms.getCapabilities(); |
176 |
setConnected(true); |
|
176 |
wms.setConnected(true);
|
|
177 | 177 |
} catch (Exception e) { |
178 | 178 |
throw new DriverException(e); |
179 | 179 |
} |
Also available in: Unified diff