![]() |
OpendTect
7.0
|
Public Member Functions | |
| HttpRequestManager () | |
| ~HttpRequestManager () | |
| RefMan< HttpRequestProcess > | get (const char *url) |
| RefMan< HttpRequestProcess > | head (const char *url) |
| RefMan< HttpRequestProcess > | request (const HttpRequest *) |
Public Member Functions inherited from CallBacker | |
| CallBacker () | |
| CallBacker (const CallBacker &) | |
| virtual | ~CallBacker () |
| bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
| bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
| void | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| virtual bool | isCapsule () const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| void | stopReceivingNotifications () const |
| virtual CallBacker * | trueCaller () |
Static Public Member Functions | |
| static HttpRequestManager & | instance () |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Private Member Functions | |
| void | doRequestCB (CallBacker *) |
| void | shutDownThreading () |
| void | threadFuncCB (CallBacker *) |
Static Private Member Functions | |
| static void | CloseInstance () |
Private Attributes | |
| RefObjectSet< HttpRequestProcess > | activeevents_ |
| Threads::SpinLock | activeeventslock_ |
| QEventLoop * | eventloop_ = nullptr |
| Threads::ConditionVar * | eventlooplock_ |
| QNetworkAccessManager * | qnam_ = nullptr |
| Threads::Thread * | thread_ = nullptr |
Main entrypoint of http(s) connections. A new request is created by calling either head(), get() or request().
The call will return a HttpRequestProcess, which can be queried about the results.
<>
| Network::HttpRequestManager::HttpRequestManager | ( | ) |
| Network::HttpRequestManager::~HttpRequestManager | ( | ) |
|
staticprivate |
|
private |
| RefMan<HttpRequestProcess> Network::HttpRequestManager::get | ( | const char * | url | ) |
| RefMan<HttpRequestProcess> Network::HttpRequestManager::head | ( | const char * | url | ) |
|
static |
| RefMan<HttpRequestProcess> Network::HttpRequestManager::request | ( | const HttpRequest * | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024