![]() |
OpendTect
7.0
|
Classes | |
| class | Authority |
| class | FileCache |
| class | HttpRequest |
| class | HttpRequestManager |
| class | HttpRequestProcess |
| class | PacketFiller |
| class | PacketInterpreter |
| class | ReadCache |
| class | RequestConnection |
| class | RequestPacket |
| class | RequestServer |
| class | Server |
| class | Service |
| class | Socket |
| class | WriteCache |
Typedefs | |
| typedef int | ProcID |
Enumerations | |
| enum | SpecAddr { Any , IPv4 , IPv6 , Broadcast , LocalIPv4 , LocalIPv6 , None } |
Functions | |
| bool | downloadFile (const char *url, const char *outpath, uiString &errmsg, TaskRunner *=nullptr) |
| bool | downloadFiles (BufferStringSet &urls, BufferStringSet &outpaths, uiString &errmsg, TaskRunner *=nullptr) |
| bool | downloadFiles (BufferStringSet &urls, const char *outpath, uiString &errmsg, TaskRunner *=nullptr) |
| bool | downloadToBuffer (const char *url, DataBuffer &, uiString &errmsg, TaskRunner *=nullptr) |
| bool | exists (const char *) |
| bool | getContent (const char *, BufferString &) |
| od_int64 | getFileSize (const char *) |
| PortNr_Type | getNextCandidatePort () |
| bool | getProxySettingsFromUser () |
| bool | getRemoteFileSize (const char *url, od_int64 &size, uiString &errmsg) |
| PortNr_Type | getUsablePort (PortNr_Type firstport=0) |
| PortNr_Type | getUsablePort (uiRetVal &, PortNr_Type firstport=0, int maxportstotry=100) |
| Returns 0 if none found. More... | |
| bool | isPortFree (PortNr_Type port, uiString *errmsg=nullptr) |
| bool | ping (const char *url, uiString &msg) |
| void | setHttpProxy (const char *hostname, int port, bool auth=false, const char *username=nullptr, const char *password=nullptr) |
| void | setHttpProxyFromIOPar (const IOPar &) |
| void | setHttpProxyFromSettings () |
| const char * | sKeyCryptProxyPassword () |
| const char * | sKeyProxyHost () |
| const char * | sKeyProxyPassword () |
| const char * | sKeyProxyPort () |
| const char * | sKeyProxyUserName () |
| const char * | sKeyUseAuthentication () |
| const char * | sKeyUseProxy () |
| bool | uploadFile (const char *url, const char *localfname, const char *remotefname, const char *ftype, const IOPar &postvars, uiString &errmsg, TaskRunner *=nullptr, uiString *returnedmessage=nullptr) |
| bool | uploadQuery (const char *url, const IOPar &querypars, uiString &errmsg, TaskRunner *=nullptr, uiString *returnedmessage=nullptr) |
| typedef int Network::ProcID |
| enum Network::SpecAddr |
| bool Network::downloadFile | ( | const char * | url, |
| const char * | outpath, | ||
| uiString & | errmsg, | ||
| TaskRunner * | = nullptr |
||
| ) |
Functions to download/upload one or more files/data using HTTP protocol
| bool Network::downloadFiles | ( | BufferStringSet & | urls, |
| BufferStringSet & | outpaths, | ||
| uiString & | errmsg, | ||
| TaskRunner * | = nullptr |
||
| ) |
| bool Network::downloadFiles | ( | BufferStringSet & | urls, |
| const char * | outpath, | ||
| uiString & | errmsg, | ||
| TaskRunner * | = nullptr |
||
| ) |
| bool Network::downloadToBuffer | ( | const char * | url, |
| DataBuffer & | , | ||
| uiString & | errmsg, | ||
| TaskRunner * | = nullptr |
||
| ) |
| bool Network::exists | ( | const char * | ) |
| bool Network::getContent | ( | const char * | , |
| BufferString & | |||
| ) |
| od_int64 Network::getFileSize | ( | const char * | ) |
| PortNr_Type Network::getNextCandidatePort | ( | ) |
| bool Network::getProxySettingsFromUser | ( | ) |
| bool Network::getRemoteFileSize | ( | const char * | url, |
| od_int64 & | size, | ||
| uiString & | errmsg | ||
| ) |
| PortNr_Type Network::getUsablePort | ( | PortNr_Type | firstport = 0 | ) |
| PortNr_Type Network::getUsablePort | ( | uiRetVal & | , |
| PortNr_Type | firstport = 0, |
||
| int | maxportstotry = 100 |
||
| ) |
Returns 0 if none found.
| bool Network::isPortFree | ( | PortNr_Type | port, |
| uiString * | errmsg = nullptr |
||
| ) |
| bool Network::ping | ( | const char * | url, |
| uiString & | msg | ||
| ) |
| void Network::setHttpProxy | ( | const char * | hostname, |
| int | port, | ||
| bool | auth = false, |
||
| const char * | username = nullptr, |
||
| const char * | password = nullptr |
||
| ) |
| void Network::setHttpProxyFromIOPar | ( | const IOPar & | ) |
| void Network::setHttpProxyFromSettings | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Network::uploadFile | ( | const char * | url, |
| const char * | localfname, | ||
| const char * | remotefname, | ||
| const char * | ftype, | ||
| const IOPar & | postvars, | ||
| uiString & | errmsg, | ||
| TaskRunner * | = nullptr, |
||
| uiString * | returnedmessage = nullptr |
||
| ) |
| bool Network::uploadQuery | ( | const char * | url, |
| const IOPar & | querypars, | ||
| uiString & | errmsg, | ||
| TaskRunner * | = nullptr, |
||
| uiString * | returnedmessage = nullptr |
||
| ) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024