Package net.sourceforge.fullsync

Examples of net.sourceforge.fullsync.TaskFinishedEvent


      stats.bytesTransferred += source.getSize();
    }
    catch (IOException ioe) {
      // FIXME that's not right, the task does not neccessarily be the one
      // that throws this exception as there are flushs involved
      fireTaskFinished(new TaskFinishedEvent(task, ioe.getMessage()));
    }
  }
View Full Code Here


  @Override
  public void entryFinished(EntryDescriptor entry, IOException ioe) {
    Task task = entry.getTask();
    if (null != task) {
      if (null != ioe) {
        fireTaskFinished(new TaskFinishedEvent(task, ioe.getLocalizedMessage()));
      }
      else {
        fireTaskFinished(new TaskFinishedEvent(task, 0));
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.fullsync.TaskFinishedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.