Package com.luciad.fusion.tilestore
Interface ILfnImportHandler
- All Superinterfaces:
ILfnFailureHandler
,ILfnServiceFailureHandler
A handler for asynchronously imported a coverage.
Unless canceled, there will always be a single interaction with the handler.
Either
imported()
or one of the failure methods will be called,
indicating that the associated request has been handled, has failed/been interrupted.
In addition, progress is provided via the progress(com.luciad.fusion.util.TLfnProgress)
method.- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
imported()
Indicates that the import has successfully completed.void
progress
(TLfnProgress aProgress) Indicates progress made by the import.void
threw
(DigestException aDigestException) Indicates a message digest verification error.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
-
progress
Indicates progress made by the import.- Parameters:
aProgress
- a recent snapshot of the progress
-
imported
void imported()Indicates that the import has successfully completed. In case of cancellation of the import, this will not be called. -
threw
Indicates a message digest verification error. When importing, a message digest is computed on the raw coverage byte data, both on the sender side (the exporting Tile Store) and the receiver side (the importing Tile Store). If the message digest of both sides do not correspond, the import will fail and a DigestException is thrown on this handler.- Parameters:
aDigestException
- the message digest exception associated with the failure.
-