Public Member Functions | |
| SC::Result | get (Span< char > &outData) |
| Get a Span of the actually read data. | |
| SocketIPAddress | getSourceAddress () const |
Public Member Functions inherited from SC::AsyncResultOf< AsyncSocketReceive, CompletionData > | |
| 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. | |
Public Member Functions inherited from SC::AsyncResult | |
| 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 | |
Public Attributes inherited from SC::AsyncResultOf< AsyncSocketReceive, CompletionData > | |
| CompletionData | completionData |
| int32_t | eventIndex |
Public Attributes inherited from SC::AsyncResult | |
| AsyncEventLoop & | eventLoop |
| AsyncRequest & | async |
Protected Attributes inherited from SC::AsyncResult | |
| bool | shouldCallCallback = true |
| bool * | hasBeenReactivated = nullptr |
| SC::Result & | returnCode |
|
inline |