OpendTect
6.6
|
Classes | |
class | Authority |
class | PacketFiller |
class | PacketInterpreter |
class | RequestConnection |
class | RequestPacket |
class | RequestServer |
class | Server |
class | Service |
class | Socket |
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 *taskr=0) |
bool | downloadFiles (BufferStringSet &urls, BufferStringSet &outpaths, uiString &errmsg, TaskRunner *taskr=0) |
bool | downloadFiles (BufferStringSet &urls, const char *outpath, uiString &errmsg, TaskRunner *taskr=0) |
bool | downloadToBuffer (const char *url, DataBuffer *, uiString &errmsg, TaskRunner *taskr=0) |
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=0, const char *password=0) |
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 *taskr=0, uiString *returnedmessage=0) |
bool | uploadQuery (const char *url, const IOPar &querypars, uiString &errmsg, TaskRunner *taskr=0, uiString *returnedmessage=0) |
typedef int Network::ProcID |
enum Network::SpecAddr |
bool Network::downloadFile | ( | const char * | url, |
const char * | outpath, | ||
uiString & | errmsg, | ||
TaskRunner * | taskr = 0 |
||
) |
< Functions to download/upload one or more files/data using HTTP protocol
bool Network::downloadFiles | ( | BufferStringSet & | urls, |
BufferStringSet & | outpaths, | ||
uiString & | errmsg, | ||
TaskRunner * | taskr = 0 |
||
) |
bool Network::downloadFiles | ( | BufferStringSet & | urls, |
const char * | outpath, | ||
uiString & | errmsg, | ||
TaskRunner * | taskr = 0 |
||
) |
bool Network::downloadToBuffer | ( | const char * | url, |
DataBuffer * | , | ||
uiString & | errmsg, | ||
TaskRunner * | taskr = 0 |
||
) |
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 = 0 , |
||
const char * | password = 0 |
||
) |
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 * | taskr = 0 , |
||
uiString * | returnedmessage = 0 |
||
) |
bool Network::uploadQuery | ( | const char * | url, |
const IOPar & | querypars, | ||
uiString & | errmsg, | ||
TaskRunner * | taskr = 0 , |
||
uiString * | returnedmessage = 0 |
||
) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022