public interface ILfnGetTileHandler extends ILfnServiceFailureHandler
transferred()
: when the tile is present and successfully retrievednotFound()
: when the tile is not presentnotModified()
: when the tile is not modifiedinterrupted
: when the request is interruptedthrew
: when the request failscancelled
: when the request is cancelled as a result of an explicit cancellation by the userALfnTileStore
Modifier and Type | Method and Description |
---|---|
void |
found(long aContentLength,
long aModificationTime)
Indicates the requested tile is found.
|
void |
notFound()
Indicates the requested tile is not found.
|
void |
notModified()
Indicates the requested tile was not modified since the specified modification time.
|
void |
transferred()
Indicates the requested tile is found and that the tile data has been completely streamed.
|
threw
cancelled, interrupted, threw, threw, threw
void found(long aContentLength, long aModificationTime)
transferred()
is called.
When the requested tile is not found, notFound()
will be called instead.aContentLength
- a hint of the content length, possible -1
if unknownaModificationTime
- the modification time in milliseconds since epoch, or -1
if unknownvoid transferred()
void notModified()
void notFound()