|
|
bool | isEnded () const |
| |
| SC::Result | get (Span< char > &outData) |
| | Get a Span of the actually read data.
|
| |
|
SocketIPAddress | getSourceAddress () const |
| |
|
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.
|
| |
|
|
CompletionData | completionData |
| |
|
int32_t | eventIndex |
| |
|
AsyncEventLoop & | eventLoop |
| |
|
AsyncRequest & | async |
| |
|
bool | shouldCallCallback = true |
| |
|
bool * | hasBeenReactivated = nullptr |
| |
|
SC::Result & | returnCode |
| |
◆ get()
| SC::Result SC::AsyncSocketReceive::Result::get |
( |
Span< char > & | outData | ) |
|
|
inline |
Get a Span of the actually read data.
- Parameters
-
| outData | The span of data actually read from socket |
- Returns
- Valid Result if the data was read without errors
The documentation for this struct was generated from the following file: