public interface TileSourceProvider<T>
Modifier and Type | Method and Description |
---|---|
void |
addAvailableListener(RemoteTileSourceAvailableListener listener) |
boolean |
connect(T info)
Connects the slice source.
|
boolean |
disConnect()
Disconnect.
|
Tileset<?,?> |
getTileset(MetaData expectMetaData, boolean createIfNotExist)
Returns a slice set that is compatible with the given meta information
|
Tileset<?,?> |
getTileset(java.lang.String name)
Returns the specified slice set
|
Tileset<?,?>[] |
getTilesets()
Returns all slices.
|
boolean |
isConnected()
Whether the slice source has been properly connected.
|
void |
refresh()
Refresh slice source.
|
void |
removeAvailableListener(RemoteTileSourceAvailableListener listener) |
boolean isConnected()
Whether the slice source has been properly connected.
boolean connect(T info)
l
-boolean disConnect()
Tileset<?,?>[] getTilesets()
void refresh()
Tileset<?,?> getTileset(MetaData expectMetaData, boolean createIfNotExist)
Returns a slice set that is compatible with the given meta information
expectMetaData
-createIfNotExist
- When it does not exist, whether to creat a slice setTileset<?,?> getTileset(java.lang.String name)
Returns the specified slice set
name
-void addAvailableListener(RemoteTileSourceAvailableListener listener)
void removeAvailableListener(RemoteTileSourceAvailableListener listener)