|
| size_t | getBytesTransferred () const |
| | Get the number of bytes transferred.
|
| |
| bool | usedZeroCopy () const |
| | Check if zero-copy was used for this transfer.
|
| |
| bool | isComplete () const |
| | Check if the entire requested range was sent.
|
| |
|
AsyncFileSend & | getAsync () |
| |
|
const AsyncFileSend & | getAsync () const |
| |
| | AsyncResult (AsyncEventLoop &eventLoop, AsyncRequest &request, SC::Result &res, bool *hasBeenReactivated=nullptr) |
| | Constructs an async result from a request and a result.
|
| |
| | AsyncResult (AsyncEventLoop &eventLoop, AsyncRequest &request, SC::Result &res, bool *hasBeenReactivated=nullptr) |
| | Constructs an async result from a request and a result.
|
| |
| void | reactivateRequest (bool shouldBeReactivated) |
| | Ask the event loop to re-activate this request after it was already completed.
|
| |
| const SC::Result & | isValid () const |
| | Check if the returnCode of this result is valid.
|
| |
|
|
CompletionData | completionData |
| |
|
int32_t | eventIndex |
| |
|
AsyncEventLoop & | eventLoop |
| |
|
AsyncRequest & | async |
| |
|
bool | shouldCallCallback = true |
| |
|
bool * | hasBeenReactivated = nullptr |
| |
|
SC::Result & | returnCode |
| |
◆ getBytesTransferred()
| size_t SC::AsyncFileSend::Result::getBytesTransferred |
( |
| ) |
const |
|
inlinenodiscard |
Get the number of bytes transferred.
◆ isComplete()
| bool SC::AsyncFileSend::Result::isComplete |
( |
| ) |
const |
|
inlinenodiscard |
Check if the entire requested range was sent.
◆ usedZeroCopy()
| bool SC::AsyncFileSend::Result::usedZeroCopy |
( |
| ) |
const |
|
inlinenodiscard |
Check if zero-copy was used for this transfer.
The documentation for this struct was generated from the following file: