Package com.luciad.fusion.tilestore
Interface ILfnGetTileHandler
- All Superinterfaces:
ILfnFailureHandler
,ILfnServiceFailureHandler
A handler for asynchronous tile retrieval operations.
One of the following methods will be called to indicate the end of the interaction:
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 user
- Since:
- 10.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
found
(long aContentLength, long aModificationTime) Indicates the requested tile is found.void
notFound()
Indicates the requested tile is not found.void
Indicates the requested tile was not modified since the specified modification time.void
Indicates the requested tile is found and that the tile data has been completely streamed.Methods inherited from interface com.luciad.fusion.tilestore.ILfnFailureHandler
cancelled, interrupted, threw, threw, threw
Methods inherited from interface com.luciad.fusion.tilestore.ILfnServiceFailureHandler
threw
-
Method Details
-
found
void found(long aContentLength, long aModificationTime) Indicates the requested tile is found. It is guaranteed that this method will be called before the content will be streamed, hence beforetransferred()
is called. When the requested tile is not found,notFound()
will be called instead.- Parameters:
aContentLength
- a hint of the content length, possible-1
if unknownaModificationTime
- the modification time in milliseconds since epoch, or-1
if unknown
-
transferred
void transferred()Indicates the requested tile is found and that the tile data has been completely streamed. -
notModified
void notModified()Indicates the requested tile was not modified since the specified modification time. -
notFound
void notFound()Indicates the requested tile is not found. No data will have been streamed.
-