![]() |
OpendTect
6.3
|
Public Member Functions | |
| bool | isRunning () const |
| bool | isFinished () const |
| bool | isError () const |
| void | waitForFinish (int timeout_in_ms=-1) |
| bool | waitForDownloadData (int timeout_ms=-1) |
| od_int64 | downloadBytesAvailable () const |
| od_int64 | read (char *, od_int64 bufsize) |
| Returns nr bytes read. More... | |
| BufferString | readAll () |
| od_int64 | getContentLengthHeader () const |
| od_int64 | getBytesUploaded () const |
| od_int64 | getTotalBytesToUpload () const |
| uiString | errMsg () const |
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 | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| virtual bool | isCapsule () const |
| void | stopReceivingNotifications () const |
Public Attributes | |
| Notifier< HttpRequestProcess > | finished |
| Notifier< HttpRequestProcess > | error |
| Notifier< HttpRequestProcess > | downloadDataAvailable |
| Notifier< HttpRequestProcess > | uploadProgress |
Private Types | |
| enum | Status { NotStarted, Running, Error, Finished } |
Private Member Functions | |
| void | reportDownloadProgress (od_int64 nrdone, od_int64 totalnr) |
| void | reportError () |
| void | reportSSLErrors (const QList< QSslError > &) |
| void | reportFinished () |
| void | reportUploadProgress (od_int64 bytes, od_int64 totalbytes) |
| void | reportMetaDataChanged () |
| void | reportReadyRead () |
| void | setQNetworkReply (QNetworkReply *) |
| bool | waitForRequestStart () |
| HttpRequestProcess (const HttpRequest *) | |
| ~HttpRequestProcess () | |
Friends | |
| class | ::QNetworkReplyConn |
| class | HttpRequestManager |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
The upload or download process. Can be queried for progress, data and errors
|
private |
|
private |
|
private |
| od_int64 Network::HttpRequestProcess::downloadBytesAvailable | ( | ) | const |
| uiString Network::HttpRequestProcess::errMsg | ( | ) | const |
| od_int64 Network::HttpRequestProcess::getBytesUploaded | ( | ) | const |
| od_int64 Network::HttpRequestProcess::getContentLengthHeader | ( | ) | const |
| od_int64 Network::HttpRequestProcess::getTotalBytesToUpload | ( | ) | const |
| bool Network::HttpRequestProcess::isError | ( | ) | const |
| bool Network::HttpRequestProcess::isFinished | ( | ) | const |
| bool Network::HttpRequestProcess::isRunning | ( | ) | const |
| BufferString Network::HttpRequestProcess::readAll | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Becomes mine. Also signals start of the request.
| bool Network::HttpRequestProcess::waitForDownloadData | ( | int | timeout_ms = -1 | ) |
| void Network::HttpRequestProcess::waitForFinish | ( | int | timeout_in_ms = -1 | ) |
|
private |
Wait for the request to start in the networking thread.
|
friend |
|
friend |
|
private |
|
private |
|
private |
| Notifier<HttpRequestProcess> Network::HttpRequestProcess::downloadDataAvailable |
|
private |
| Notifier<HttpRequestProcess> Network::HttpRequestProcess::error |
| Notifier<HttpRequestProcess> Network::HttpRequestProcess::finished |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
| Notifier<HttpRequestProcess> Network::HttpRequestProcess::uploadProgress |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017