org.tranche.get
Interface GetFileToolListener

All Known Implementing Classes:
CommandLineGetFileToolListener, GetFileToolAdapter, GetFileToolFailedChunksListener, GetFileToolPerformanceLog, GetFileToolReportListener

public interface GetFileToolListener

Author:
James "Augie" Hill - augman85@gmail.com

Method Summary
 void failedData(GetFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a data chunk could not be downloaded.
 void failedDirectory(GetFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a directory download has failed.
 void failedFile(GetFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a file download has failed.
 void failedMetaData(GetFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a meta data chunk could not be downloaded.
 void finishedData(GetFileToolEvent event)
          Notification that a data chunk has been downloaded.
 void finishedDirectory(GetFileToolEvent event)
          Notification that a directory download has finished.
 void finishedFile(GetFileToolEvent event)
          Notification that a file download has finished.
 void finishedMetaData(GetFileToolEvent event)
          Notification that a meta data chunk has been downloaded.
 void message(java.lang.String msg)
          Notification of any other event occurence.
 void skippedFile(GetFileToolEvent event)
          Notification that a file downloaded has been skipped.
 void startedData(GetFileToolEvent event)
          Notificatin that a data chunk is starting to be downloaded.
 void startedDirectory(GetFileToolEvent event)
          Notification that a directory download has started.
 void startedFile(GetFileToolEvent event)
          Notification that a file download has started.
 void startedMetaData(GetFileToolEvent event)
          Notification that a meta data chunk is starting to be downloaded.
 void startingDirectory(GetFileToolEvent event)
          Notification that a directory download is starting.
 void startingFile(GetFileToolEvent event)
          Notification that a file is starting to be downloaded.
 void tryingData(GetFileToolEvent event)
          Notification that a data chunk is trying to be downloaded from a server.
 void tryingMetaData(GetFileToolEvent event)
          Notification that a meta data chunk is trying to be downloaded from a server.
 

Method Detail

message

void message(java.lang.String msg)

Notification of any other event occurence.

Parameters:
msg -

startedMetaData

void startedMetaData(GetFileToolEvent event)

Notification that a meta data chunk is starting to be downloaded.

Parameters:
event -

tryingMetaData

void tryingMetaData(GetFileToolEvent event)

Notification that a meta data chunk is trying to be downloaded from a server.

Parameters:
event -

failedMetaData

void failedMetaData(GetFileToolEvent event,
                    java.util.Collection<PropagationExceptionWrapper> exceptions)

Notification that a meta data chunk could not be downloaded.

Parameters:
event -
exceptions -

finishedMetaData

void finishedMetaData(GetFileToolEvent event)

Notification that a meta data chunk has been downloaded.

Parameters:
event -

startedData

void startedData(GetFileToolEvent event)

Notificatin that a data chunk is starting to be downloaded.

Parameters:
event -

tryingData

void tryingData(GetFileToolEvent event)

Notification that a data chunk is trying to be downloaded from a server.

Parameters:
event -

failedData

void failedData(GetFileToolEvent event,
                java.util.Collection<PropagationExceptionWrapper> exceptions)

Notification that a data chunk could not be downloaded.

Parameters:
event -
exceptions -

finishedData

void finishedData(GetFileToolEvent event)

Notification that a data chunk has been downloaded.

Parameters:
event -

startingFile

void startingFile(GetFileToolEvent event)

Notification that a file is starting to be downloaded.

Parameters:
event -

startedFile

void startedFile(GetFileToolEvent event)

Notification that a file download has started.

Parameters:
event -

skippedFile

void skippedFile(GetFileToolEvent event)

Notification that a file downloaded has been skipped.

Parameters:
event -

finishedFile

void finishedFile(GetFileToolEvent event)

Notification that a file download has finished.

Parameters:
event -

failedFile

void failedFile(GetFileToolEvent event,
                java.util.Collection<PropagationExceptionWrapper> exceptions)

Notification that a file download has failed.

Parameters:
event -
exceptions -

startingDirectory

void startingDirectory(GetFileToolEvent event)

Notification that a directory download is starting.

Parameters:
event -

startedDirectory

void startedDirectory(GetFileToolEvent event)

Notification that a directory download has started.

Parameters:
event -

finishedDirectory

void finishedDirectory(GetFileToolEvent event)

Notification that a directory download has finished.

Parameters:
event -

failedDirectory

void failedDirectory(GetFileToolEvent event,
                     java.util.Collection<PropagationExceptionWrapper> exceptions)

Notification that a directory download has failed.

Parameters:
event -
exceptions -


This code is free for use both commercially and non-commercially as stated in the project's license