buxing library

Classes

Conn
The default ConnBase implementation.
ConnBase
Base class for a parallel worker connection.
ConnState
Contains information about an ongoing connection in a parallel worker.
DataBody
A chunk of data transferred from server.
DataRange
Represents a range.
Dumper
Dumper writes data to a disk file.
Logger
ParallelWorker
The default parallel worker implementation.
State
Represents a download task that will be persisted to disk. A state is deleted when the task is completed.
StateHead
Core information about a task such as URL, file size etc.
Task
Represents a download operation.
TaskProgress
Represents a progress update of a task.
Worker
The default worker implementation.
WorkerBase
Base class for all workers.

Enums

LogLevel
TaskStatus
The state of a task.

Constants

connKey → const String
dataExt → const String
File extension of a partially downloaded file.
defConnNumber → const int
endKey → const String
idKey → const String
originalURLKey → const String
parallelKey → const String
sizeKey → const String
startKey → const String
stateExt → const String
File extension of a task file.
transferredKey → const String
urlKey → const String

Properties

redPen ↔ AnsiPen
getter/setter pair
yellowPen ↔ AnsiPen
getter/setter pair

Functions

getDataFile(String path) File
Gets the download data file path.
getStateFile(String path) File
Gets the state file path.