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

Inheritance: IRsyncLauncher
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Méthodes publiques

Свойство Type Description
DEFAULT_RSYNC_PARAMS string

Méthodes publiques

Méthode 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

Méthode 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 méthode

public RsyncLauncher ( IProcessManager processManager, IPathConfiguration configuration, RsyncOutputParser parser ) : System
processManager IProcessManager
configuration IPathConfiguration
parser RsyncOutputParser
Résultat System

Run() public méthode

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

RunAndProcess() public méthode

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
Résultat withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput

RunAndProcess() public méthode

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

RunAndProcessAsync() public méthode

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
Résultat Task

RunAndProcessAsync() public méthode

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

Property Details

DEFAULT_RSYNC_PARAMS public_oe static_oe property

public static string DEFAULT_RSYNC_PARAMS
Résultat string