◆ TransferStatus
The transfer status enum.
Enumerator |
---|
STARTING | |
QUEUED | |
RETRYING | |
ACTIVE | |
FINISHED | |
LAST_STATUS | |
◆ TransferType
Enumerator |
---|
UPLOAD | |
DOWNLOAD | |
METADATA_UPLOAD | |
METADATA_DOWNLOAD | |
LAST_TYPE | |
◆ ~TransferData()
virtual iberbox::TransferData::~TransferData |
( |
| ) |
|
|
virtual |
◆ getCrypto()
unsigned iberbox::TransferData::getCrypto |
( |
| ) |
const |
◆ getData()
std::vector<uint8_t>* iberbox::TransferData::getData |
( |
| ) |
|
◆ getEndPosition()
uint64_t iberbox::TransferData::getEndPosition |
( |
| ) |
const |
◆ getError()
Error iberbox::TransferData::getError |
( |
| ) |
const |
◆ getErrorName()
const char* iberbox::TransferData::getErrorName |
( |
| ) |
const |
◆ getErrorNameString()
const std::string iberbox::TransferData::getErrorNameString |
( |
| ) |
const |
◆ getErrorType()
int iberbox::TransferData::getErrorType |
( |
| ) |
const |
◆ getFile()
const char* iberbox::TransferData::getFile |
( |
| ) |
const |
◆ getFileString()
const std::string iberbox::TransferData::getFileString |
( |
| ) |
const |
◆ getFullHash()
std::vector<uint8_t>* iberbox::TransferData::getFullHash |
( |
| ) |
const |
◆ getKey()
std::vector<uint8_t>* iberbox::TransferData::getKey |
( |
| ) |
const |
◆ getModificationTime()
uint64_t iberbox::TransferData::getModificationTime |
( |
| ) |
const |
◆ getNode()
Node iberbox::TransferData::getNode |
( |
| ) |
const |
◆ getNodeId()
uint64_t iberbox::TransferData::getNodeId |
( |
| ) |
const |
◆ getNodeType()
int iberbox::TransferData::getNodeType |
( |
| ) |
const |
◆ getPreviousProgress()
uint64_t iberbox::TransferData::getPreviousProgress |
( |
| ) |
const |
◆ getPriority()
uint64_t iberbox::TransferData::getPriority |
( |
| ) |
const |
Gets the priority of the transfer.
- Returns
- The priority of the transfer.
Referenced by getStatusNameString().
◆ getProgress()
uint64_t iberbox::TransferData::getProgress |
( |
| ) |
const |
◆ getRetries()
uint8_t iberbox::TransferData::getRetries |
( |
| ) |
const |
◆ getRetryTime()
uint64_t iberbox::TransferData::getRetryTime |
( |
| ) |
const |
◆ getSession()
const char* iberbox::TransferData::getSession |
( |
| ) |
const |
◆ getSize()
uint64_t iberbox::TransferData::getSize |
( |
| ) |
const |
◆ getSparseHash()
std::vector<uint8_t>* iberbox::TransferData::getSparseHash |
( |
| ) |
const |
◆ getSpeed()
uint64_t iberbox::TransferData::getSpeed |
( |
| ) |
const |
◆ getStartPosition()
uint64_t iberbox::TransferData::getStartPosition |
( |
| ) |
const |
◆ getStatus()
int iberbox::TransferData::getStatus |
( |
| ) |
const |
◆ getStatusName()
static const char* iberbox::TransferData::getStatusName |
( |
unsigned |
type | ) |
|
|
inlinestatic |
◆ getStatusNameString()
static const std::string iberbox::TransferData::getStatusNameString |
( |
unsigned |
type | ) |
|
|
inlinestatic |
References getCrypto(), getData(), getEndPosition(), getError(), getErrorName(), getErrorNameString(), getErrorType(), getFile(), getFileString(), getFullHash(), getKey(), getModificationTime(), getNode(), getNodeId(), getNodeType(), getPreviousProgress(), getPriority(), getProgress(), getRetries(), getRetryTime(), getSession(), getSize(), getSparseHash(), getSpeed(), getStartPosition(), getStatus(), getStatusName(), getTag(), getType(), isFinished(), isRetrying(), and ~TransferData().
◆ getTag()
int iberbox::TransferData::getTag |
( |
| ) |
const |
◆ getType()
int iberbox::TransferData::getType |
( |
| ) |
const |
◆ getTypeName()
static const char* iberbox::TransferData::getTypeName |
( |
unsigned |
type | ) |
|
|
inlinestatic |
◆ getTypeNameString()
static const std::string iberbox::TransferData::getTypeNameString |
( |
unsigned |
type | ) |
|
|
inlinestatic |
Gets the transfer type name.
type
valid values are described in TransferType enum
- Parameters
-
- Returns
- The transfer type as a std::string.
References getTypeName().
◆ isFinished()
bool iberbox::TransferData::isFinished |
( |
| ) |
const |
◆ isRetrying()
bool iberbox::TransferData::isRetrying |
( |
| ) |
const |
The documentation for this class was generated from the following file: