gvsig-raster / org.gvsig.raster / trunk / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.api / src / main / java / org / gvsig / fmap / dal / coverage / store / RasterDataServerExplorer.java @ 2443
History | View | Annotate | Download (1.35 KB)
1 |
package org.gvsig.fmap.dal.coverage.store; |
---|---|
2 |
|
3 |
|
4 |
import org.gvsig.compat.net.ICancellable; |
5 |
import org.gvsig.fmap.dal.DataServerExplorer; |
6 |
import org.gvsig.fmap.dal.DataStoreParameters; |
7 |
import org.gvsig.fmap.dal.coverage.exception.ConnectException; |
8 |
|
9 |
/**
|
10 |
* RasterDataServerExplorer is an abstraction for a raster server. It allows connecting to the server
|
11 |
* and browsing its contents. More specifically, this interface provides a list of the available
|
12 |
* data stores in a server.
|
13 |
*
|
14 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
15 |
*/
|
16 |
public interface RasterDataServerExplorer extends DataServerExplorer { |
17 |
public int TIME = 10000; |
18 |
|
19 |
/**
|
20 |
* Returns the internal parameters, that is, the parameters that
|
21 |
* are not tiled.
|
22 |
* @return
|
23 |
*/
|
24 |
public DataStoreParameters getStoredParameters();
|
25 |
|
26 |
/**
|
27 |
* Connect to the server
|
28 |
* @param cancellable
|
29 |
* @throws ConnectException
|
30 |
*/
|
31 |
public void connect(ICancellable cancellable) throws ConnectException; |
32 |
|
33 |
/**
|
34 |
* Checks if the network and host are reachable
|
35 |
* @param timeout for the host
|
36 |
* @return true if both are reachable and false if they are not
|
37 |
*/
|
38 |
public boolean isHostReachable(int timeout); |
39 |
|
40 |
/**
|
41 |
* Checks if the network and host are reachable for a fixed time defined in
|
42 |
* a constant of this interface.
|
43 |
* @return true if both are reachable and false if they are not
|
44 |
*/
|
45 |
public boolean isHostReachable(); |
46 |
} |