Public Member Functions | |
SC::Result | get (Span< char > &outData) |
Get a Span of the actually read data. | |
![]() | |
AsyncSocketReceive & | getAsync () |
const AsyncSocketReceive & | 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. | |
Additional Inherited Members | |
![]() | |
CompletionData | completionData |
int32_t | eventIndex |
![]() | |
AsyncEventLoop & | eventLoop |
AsyncRequest & | async |
![]() | |
bool | shouldCallCallback = true |
bool * | hasBeenReactivated = nullptr |
SC::Result & | returnCode |
|
inline |