C++ edjLibrary SDK
|
Placeholder for storage response used in streaming methods when the response is not available immediately. More...
#include <storage.hpp>
Public Member Functions | |
StorageResponsePending () | |
Constructs an uninitialized response holder. More... | |
StorageResponsePending (uint32_t sd) | |
Constructs a response holder for a stream identified by the stream descriptor sd . More... | |
edjx::error::StorageError | get_storage_response (StorageResponse &result) |
Attempts to retrieve the storage response if it is ready. More... | |
Public Attributes | |
uint32_t | sd |
Stream descriptor. More... | |
Placeholder for storage response used in streaming methods when the response is not available immediately.
|
inline |
Constructs an uninitialized response holder.
|
inline |
Constructs a response holder for a stream identified by the stream descriptor sd
.
sd | Stream descriptor |
edjx::error::StorageError edjx::storage::StorageResponsePending::get_storage_response | ( | StorageResponse & | result | ) |
Attempts to retrieve the storage response if it is ready.
result | Retrieved storage response |
uint32_t edjx::storage::StorageResponsePending::sd |
Stream descriptor.