org.tranche.add
Interface AddFileToolListener

All Known Implementing Classes:
AddFileToolAdapter, AddFileToolPerformanceLog, AddFileToolReportListener, CommandLineAddFileToolListener

public interface AddFileToolListener

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

Method Summary
 void failedData(AddFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a data chunk could not be uploaded.
 void failedDirectory(AddFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a directory upload has failed.
 void failedFile(AddFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a file upload has failed.
 void failedMetaData(AddFileToolEvent event, java.util.Collection<PropagationExceptionWrapper> exceptions)
          Notification that a meta data chunk could not be uploaded.
 void finishedData(AddFileToolEvent event)
          Notification that a data chunk has been uploaded.
 void finishedDirectory(AddFileToolEvent event)
          Notification that a directory upload has finished.
 void finishedFile(AddFileToolEvent event)
          Notification that a file upload has finished.
 void finishedMetaData(AddFileToolEvent event)
          Notification that a meta data chunk has been uploaded.
 void message(java.lang.String msg)
          Notification of any other event occurence.
 void startedData(AddFileToolEvent event)
          Notification that a data chunk is starting to be uploaded.
 void startedDirectory(AddFileToolEvent event)
          Notification that a directory upload has started.
 void startedFile(AddFileToolEvent event)
          Notification that a file upload has started.
 void startedMetaData(AddFileToolEvent event)
          Notification that a meta data chunk is starting to be uploaded.
 void startingData(AddFileToolEvent event)
          Notification that a data chunk is about to be checked for on-line replications.
 void tryingData(AddFileToolEvent event)
          Notification that a data chunk is trying to be uploaded to a server.
 void tryingMetaData(AddFileToolEvent event)
          Notification that a meta data chunk is trying to be uploaded to a server.
 void uploadedData(AddFileToolEvent event)
          Notification that a data chunk has been uploaded to a server.
 void uploadedMetaData(AddFileToolEvent event)
          Notification that a meta data chunk has been uploaded to a server.
 

Method Detail

message

void message(java.lang.String msg)

Notification of any other event occurence.

Parameters:
msg -

startedMetaData

void startedMetaData(AddFileToolEvent event)

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

Parameters:
event -

tryingMetaData

void tryingMetaData(AddFileToolEvent event)

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

Parameters:
event -

uploadedMetaData

void uploadedMetaData(AddFileToolEvent event)

Notification that a meta data chunk has been uploaded to a server.

Parameters:
event -

failedMetaData

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

Notification that a meta data chunk could not be uploaded.

Parameters:
event -
exceptions -

finishedMetaData

void finishedMetaData(AddFileToolEvent event)

Notification that a meta data chunk has been uploaded.

Parameters:
event -

startingData

void startingData(AddFileToolEvent event)

Notification that a data chunk is about to be checked for on-line replications.

Parameters:
event -

startedData

void startedData(AddFileToolEvent event)

Notification that a data chunk is starting to be uploaded.

Parameters:
event -

tryingData

void tryingData(AddFileToolEvent event)

Notification that a data chunk is trying to be uploaded to a server.

Parameters:
event -

uploadedData

void uploadedData(AddFileToolEvent event)

Notification that a data chunk has been uploaded to a server.

Parameters:
event -

failedData

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

Notification that a data chunk could not be uploaded.

Parameters:
event -
exceptions -

finishedData

void finishedData(AddFileToolEvent event)

Notification that a data chunk has been uploaded.

Parameters:
event -

startedFile

void startedFile(AddFileToolEvent event)

Notification that a file upload has started.

Parameters:
event -

finishedFile

void finishedFile(AddFileToolEvent event)

Notification that a file upload has finished.

Parameters:
event -

failedFile

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

Notification that a file upload has failed.

Parameters:
event -
exceptions -

startedDirectory

void startedDirectory(AddFileToolEvent event)

Notification that a directory upload has started.

Parameters:
event -

finishedDirectory

void finishedDirectory(AddFileToolEvent event)

Notification that a directory upload has finished.

Parameters:
event -

failedDirectory

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

Notification that a directory upload has failed.

Parameters:
event -
exceptions -


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