<PackageReference Include="Relativity.Transfer.Client" Version="7.3.4" />

Session

public abstract class Session
protected bool debugEnabled

protected bool firstTime

protected string msgBuffer

protected bool persistent

protected bool persistentSessionLocked

protected int pmtu

protected int sourcePathsScanFailed

protected JObject tags

protected int transfersAttempted

protected int transfersFailed

protected int transfersPassed

protected int transfersSkipped

protected Session(JobOrder order, string jobId, bool debug)

protected Session(bool debug)

public void addListener(TransferListener listener)

public void addSource(string sourcePath, string destPath, long startByte, long endByte)

public virtual void cancel()

public void close()

public ulong getBandwidthCapKbps()

public string getCookie()

public int getErrCode()

public string getErrDescription()

public string getHost()

public string getId()

public ulong getMinumumRateKbps()

public int getNbProcesses()

public Policy getPolicy()

public int getProcessIndex()

public int getRttMs()

public string getSessionId()

public int getStartTime()

public ulong getTargetRateKbps()

public string getToken()

public long getTotalElapsedMs()

public ulong getTotalLostBytes()

public ulong getTotalWrittenBytes()

public uint getUdpPort()

public string getUser()

public Guid getXferId()

public int getXferRetry()

public abstract void handleAscpCrash()

public bool isFinished()

public bool isRemote()

public bool isUpload()

public void removeListener(TransferListener listener)

protected virtual bool sendMgmtMessage(string msg)

public void setCookie(string userCookie)

public void setPersistent(bool persistent)

public virtual void setRate(int targetRate, int minimumRate, Policy policy)

public void setUserStr(string userStr)

public virtual void stop()

public virtual void stopWhenIdle()

public virtual void terminate()