C# Класс CmisSync.Lib.Queueing.TransmissionManager

Transmission manager.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AbortAllRequests ( ) : void

Aborts all open HTTP requests.

ActiveTransmissionsAsList ( ) : List

Active the transmissions as list.

ActiveTransmissionsAsList ( ) : List

Active the transmissions as list.

AddPathRepoMapping ( string path, string repoName ) : void

Adds the path repo mapping entry to internal storage.

AddTransmission ( TransmissionController transmission ) : bool

Add a new Transmission to the active transmission manager

CreateTransmission ( TransmissionType type, string path, string cachePath = null ) : Transmission

Creates a new the transmission object and adds it to the manager. The manager decides when to and how the transmission gets removed from it.

Приватные методы

Метод Описание
TransmissionFinished ( object sender, PropertyChangedEventArgs e ) : void

If a transmission is reported as finished/aborted/failed, the transmission is removed from the collection

Описание методов

AbortAllRequests() публичный Метод

Aborts all open HTTP requests.
public AbortAllRequests ( ) : void
Результат void

ActiveTransmissionsAsList() публичный Метод

Active the transmissions as list.
public ActiveTransmissionsAsList ( ) : List
Результат List

ActiveTransmissionsAsList() публичный Метод

Active the transmissions as list.
public ActiveTransmissionsAsList ( ) : List
Результат List

AddPathRepoMapping() публичный Метод

Adds the path repo mapping entry to internal storage.
public AddPathRepoMapping ( string path, string repoName ) : void
path string Local path.
repoName string Repo name.
Результат void

AddTransmission() публичный Метод

Add a new Transmission to the active transmission manager
public AddTransmission ( TransmissionController transmission ) : bool
transmission TransmissionController transmission which should be added
Результат bool

CreateTransmission() публичный Метод

Creates a new the transmission object and adds it to the manager. The manager decides when to and how the transmission gets removed from it.
public CreateTransmission ( TransmissionType type, string path, string cachePath = null ) : Transmission
type TransmissionType Transmission type.
path string Full path.
cachePath string Cache path.
Результат CmisSync.Lib.FileTransmission.Transmission