C# Class withSIX.Sync.Core.Transfer.Protocols.Handlers.RsyncLauncher

Inheritance: IRsyncLauncher
显示文件 Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Properties

Property Type Description
DEFAULT_RSYNC_PARAMS string

Public Methods

Method Description
RsyncLauncher ( IProcessManager processManager, IPathConfiguration configuration, RsyncOutputParser parser ) : System
Run ( string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
RunAndProcess ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : ProcessExitResultWithOutput
RunAndProcess ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
RunAndProcessAsync ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : Task
RunAndProcessAsync ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : Task

Private Methods

Method Description
BuildProcessInfo ( ITransferProgress progress, string source, string destination, RsyncOptions options ) : LaunchAndProcessInfo
GetArguments ( string source, string destination, RsyncOptions options ) : IEnumerable
GetProcessStartInfo ( string source, string destination, RsyncOptions options ) : ProcessStartInfo
HandlePath ( string path ) : string
JoinArgs ( string source, string destination, RsyncOptions options ) : string

Method Details

RsyncLauncher() public method

public RsyncLauncher ( IProcessManager processManager, IPathConfiguration configuration, RsyncOutputParser parser ) : System
processManager IProcessManager
configuration IPathConfiguration
parser RsyncOutputParser
return System

Run() public method

public Run ( string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
source string
destination string
options RsyncOptions
return withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput

RunAndProcess() public method

public RunAndProcess ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : ProcessExitResultWithOutput
progress ITransferProgress
source string
destination string
token System.Threading.CancellationToken
options RsyncOptions
return withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput

RunAndProcess() public method

public RunAndProcess ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
progress ITransferProgress
source string
destination string
options RsyncOptions
return withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput

RunAndProcessAsync() public method

public RunAndProcessAsync ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : Task
progress ITransferProgress
source string
destination string
token System.Threading.CancellationToken
options RsyncOptions
return Task

RunAndProcessAsync() public method

public RunAndProcessAsync ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : Task
progress ITransferProgress
source string
destination string
options RsyncOptions
return Task

Property Details

DEFAULT_RSYNC_PARAMS public_oe static_oe property

public static string DEFAULT_RSYNC_PARAMS
return string