using MediaBrowser.Model.Sync;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Sync
{
public interface IServerSyncProvider : ISyncProvider
{
///
/// Transfers the file.
///
/// The input file.
/// The path parts.
/// The target.
/// The progress.
/// The cancellation token.
/// Task.
Task SendFile(string inputFile, string[] pathParts, SyncTarget target, IProgress progress, CancellationToken cancellationToken);
///
/// Gets the file.
///
/// The path parts.
/// The target.
/// The progress.
/// The cancellation token.
/// Task<Stream>.
Task GetFile(string[] pathParts, SyncTarget target, IProgress progress, CancellationToken cancellationToken);
}
}