C# Class withSIX.Sync.Core.Transfer.RsyncController

Inheritance: IRsyncController
Show file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
Pull ( ITransferProgress status, string remoteSub = null, string localSub = null ) : void
Pull ( string remoteSub = null, string localSub = null ) : void
Push ( ITransferProgress status, string localSub = null, string remoteSub = null ) : void
Push ( string localSub = null, string remoteSub = null ) : void
RsyncController ( string local, string remote, string key, IRsyncLauncher rsyncLauncher ) : System

Protected Methods

Method Description
HandleRsyncResponse ( ProcessExitResult response ) : void
HandleRsyncResponse ( ProcessExitResultWithOutput response ) : void
JoinPathsIfNeeded ( string path1, string path2 ) : string

Private Methods

Method Description
BuildOptions ( ) : RsyncOptions
CreateSshFolder ( ) : void

Method Details

HandleRsyncResponse() protected method

protected HandleRsyncResponse ( ProcessExitResult response ) : void
response withSIX.Core.Services.Infrastructure.ProcessExitResult
return void

HandleRsyncResponse() protected method

protected HandleRsyncResponse ( ProcessExitResultWithOutput response ) : void
response withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput
return void

JoinPathsIfNeeded() protected static method

protected static JoinPathsIfNeeded ( string path1, string path2 ) : string
path1 string
path2 string
return string

Pull() public method

public Pull ( ITransferProgress status, string remoteSub = null, string localSub = null ) : void
status ITransferProgress
remoteSub string
localSub string
return void

Pull() public method

public Pull ( string remoteSub = null, string localSub = null ) : void
remoteSub string
localSub string
return void

Push() public method

public Push ( ITransferProgress status, string localSub = null, string remoteSub = null ) : void
status ITransferProgress
localSub string
remoteSub string
return void

Push() public method

public Push ( string localSub = null, string remoteSub = null ) : void
localSub string
remoteSub string
return void

RsyncController() public method

public RsyncController ( string local, string remote, string key, IRsyncLauncher rsyncLauncher ) : System
local string
remote string
key string
rsyncLauncher IRsyncLauncher
return System