class SyncTransfer extends Transfer {

    @Override
    public TransferAction action(final Session<?> source, final Session<?> destination, final boolean resumeRequested, final boolean reloadRequested,
                                 final TransferPrompt prompt, final ListProgressListener listener) {
        if(log.isDebugEnabled()) {
            log.debug(String.format("Find transfer action for Resume=%s,Reload=%s", resumeRequested, reloadRequested));
        }
        if(resumeRequested) {
            if(action.equals(TransferAction.callback)) {
                return action = prompt.prompt(item);
            }
            return action;
        }
        // Prompt for synchronization.
        return action = prompt.prompt(item);
    }

    public  SyncTransfer(final Host host, final TransferItem item);
    public  SyncTransfer(final Host host, final TransferItem item, final TransferAction action);

}