#include <HttpThread.h>
◆ FLegacyHttpThread()
| FLegacyHttpThread::FLegacyHttpThread |
( |
| ) |
|
◆ ~FLegacyHttpThread()
| FLegacyHttpThread::~FLegacyHttpThread |
( |
| ) |
|
|
virtual |
◆ AddHttpThreadTask()
Add task to be ran on the http thread next tick
- Parameters
-
| Task | The task to be ran |
| InDelay | The delay to wait before running the task |
- Returns
- The handle of the timer, which could be used to remove the task before it get triggered
Implements FHttpThreadBase.
◆ AddRequest()
Add a request to begin processing on HTTP thread.
- Parameters
-
| Request | the request to be processed on the HTTP thread |
Reimplemented from FHttpThreadBase.
◆ CancelRequest()
Mark a request as cancelled. Called on non-HTTP thread.
- Parameters
-
| Request | the request to be processed on the HTTP thread |
Reimplemented from FHttpThreadBase.
◆ GetCompletedRequests()
Get completed requests. Clears internal arrays. Called on non-HTTP thread.
- Parameters
-
| OutCompletedRequests | array of requests that have been completed |
Reimplemented from FHttpThreadBase.
◆ HttpThreadTick()
| void FLegacyHttpThread::HttpThreadTick |
( |
float |
DeltaSeconds | ) |
|
|
overrideprotectedvirtual |
◆ Init()
Initializes the runnable object.
This method is called in the context of the thread object that aggregates this, not the thread that passes this runnable to a new thread.
- Returns
- True if initialization was successful, false otherwise
- See also
- Run, Stop, Exit
Reimplemented from FHttpThreadBase.
◆ RemoveTimerHandle() [1/2]
◆ RemoveTimerHandle() [2/2]
◆ Run()
|
|
finaloverrideprotectedvirtual |
Runs the runnable object.
This is where all per object thread work is done. This is only called if the initialization was successful.
- Returns
- The exit code of the runnable object
- See also
- Init, Stop, Exit
Reimplemented from FHttpThreadBase.
◆ StartThread()
| void FLegacyHttpThread::StartThread |
( |
| ) |
|
|
finaloverridevirtual |
◆ Stop()
Stops the runnable object.
This is called if a thread is requested to terminate early.
- See also
- Init, Run, Exit
Reimplemented from FHttpThreadBase.
◆ StopThread()
| void FLegacyHttpThread::StopThread |
( |
| ) |
|
|
finaloverridevirtual |
◆ Tick()
| void FLegacyHttpThread::Tick |
( |
| ) |
|
|
finaloverridevirtual |
◆ ExitRequest
signal request to stop and exit thread
◆ HttpThreadActiveFrameTimeInSeconds
| double FLegacyHttpThread::HttpThreadActiveFrameTimeInSeconds |
|
protected |
Time in seconds to use as frame time when actively processing requests. 0 means no frame time.
◆ HttpThreadActiveMinimumSleepTimeInSeconds
| double FLegacyHttpThread::HttpThreadActiveMinimumSleepTimeInSeconds |
|
protected |
Time in seconds to sleep minimally when actively processing requests.
◆ HttpThreadIdleFrameTimeInSeconds
| double FLegacyHttpThread::HttpThreadIdleFrameTimeInSeconds |
|
protected |
Time in seconds to use as frame time when idle, waiting for requests. 0 means no frame time.
◆ HttpThreadIdleMinimumSleepTimeInSeconds
| double FLegacyHttpThread::HttpThreadIdleMinimumSleepTimeInSeconds |
|
protected |
Time in seconds to sleep minimally when idle, waiting for requests.
◆ Ticker
The documentation for this class was generated from the following files: