#include <OnDemandHttpThread.h>
◆ FCompletionCallback
◆ FRequestHandle
◆ FOnDemandHttpThread()
| UE::IoStore::FOnDemandHttpThread::FOnDemandHttpThread |
( |
| ) |
|
◆ ~FOnDemandHttpThread()
| UE::IoStore::FOnDemandHttpThread::~FOnDemandHttpThread |
( |
| ) |
|
|
virtual |
◆ CancelRequest()
◆ DECLARE_TS_MULTICAST_DELEGATE()
| UE::IoStore::FOnDemandHttpThread::DECLARE_TS_MULTICAST_DELEGATE |
( |
FOnTickIdle |
| ) |
|
◆ Get()
◆ GetSingleThreadInterface()
Gets single thread interface pointer used for ticking this runnable when multi-threading is disabled. If the interface is not implemented, this runnable will not be ticked when FPlatformProcess::SupportsMultithreading() is false.
- Returns
- Pointer to the single thread interface or nullptr if not implemented.
Reimplemented from FRunnable.
◆ IssueRequest() [1/2]
Issue a http request to read from a chunk.
- Parameters
-
| ChunkInfo | Info about the chunk to be read |
| ReadRange | The range from within the chunk to read. A default FIoOffsetAndLength will read the entire chunk. |
| Priority | The priority of the request. Currently maps to EIoDispatcherPriority but may be expanded on in the future. @CompletionCallback A callback that will be invoked when the http request has completed. This will be invoked on the thread that the http requests are being processed on and will block new requests being queued so care should be taken to do as little work in the callback as possible. |
- Returns
- A handle representing the request which can be used to modify it while the request is still in flight. The handle will no longer be valid after the CompletionCallback has been invoked.
◆ IssueRequest() [2/2]
Issue a http request to read from a chunk.
- Parameters
-
| ChunkInfo | Info about the chunk to be read |
| ReadRange | The range from within the chunk to read. A default FIoOffsetAndLength will read the entire chunk. |
| Priority | The priority of the request. Currently maps to EIoDispatcherPriority but may be expanded on in the future. @CompletionCallback A callback that will be invoked when the http request has completed. This will be invoked on the thread that the http requests are being processed on and will block new requests being queued so care should be taken to do as little work in the callback as possible. |
- Returns
- A handle representing the request which can be used to modify it while the request is still in flight. The handle will no longer be valid after the CompletionCallback has been invoked.
◆ OnTickIdle()
| FOnTickIdle & UE::IoStore::FOnDemandHttpThread::OnTickIdle |
( |
| ) |
|
|
inline |
◆ ReprioritizeRequest()
The documentation for this class was generated from the following files: