#include <EventLoopHttpThread.h>
◆ FEventLoopHttpThread()
| FEventLoopHttpThread::FEventLoopHttpThread |
( |
| ) |
|
◆ ~FEventLoopHttpThread()
| FEventLoopHttpThread::~FEventLoopHttpThread |
( |
| ) |
|
|
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.
◆ CreateEventLoop()
◆ DestroyEventLoop()
| virtual void FEventLoopHttpThread::DestroyEventLoop |
( |
| ) |
|
|
protectedpure virtual |
◆ GetCompletedRequests()
Get completed requests. Clears internal arrays. Called on non-HTTP thread.
- Parameters
-
| OutCompletedRequests | array of requests that have been completed |
Reimplemented from FHttpThreadBase.
◆ GetEventLoop()
◆ GetEventLoopChecked()
◆ Init()
| bool FEventLoopHttpThread::Init |
( |
void |
| ) |
|
|
overrideprotectedvirtual |
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]
◆ ResetTickTimer()
| void FEventLoopHttpThread::ResetTickTimer |
( |
| ) |
|
|
protected |
◆ Run()
| uint32 FEventLoopHttpThread::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 FEventLoopHttpThread::StartThread |
( |
| ) |
|
|
finaloverridevirtual |
◆ StopThread()
| void FEventLoopHttpThread::StopThread |
( |
| ) |
|
|
finaloverridevirtual |
◆ Tick()
| void FEventLoopHttpThread::Tick |
( |
| ) |
|
|
finaloverridevirtual |
◆ UpdateConfigs()
| void FEventLoopHttpThread::UpdateConfigs |
( |
| ) |
|
|
finaloverridevirtual |
Update configuration. Called when config has been updated and we need to apply any changes.
Reimplemented from FHttpThreadBase.
◆ UpdateEventLoopConfigs()
| virtual void FEventLoopHttpThread::UpdateEventLoopConfigs |
( |
| ) |
|
|
protectedpure virtual |
◆ RequestTickTimer
The documentation for this class was generated from the following files: