OpendTect-6_4  6.4
Classes | Functions
Network Namespace Reference

Classes

class  PacketFiller
 
class  PacketInterpreter
 
class  RequestConnection
 
class  RequestPacket
 
class  RequestServer
 

Functions

bool downloadFile (const char *url, const char *outpath, uiString &errmsg, TaskRunner *taskr=0)
 
bool downloadFiles (BufferStringSet &urls, const char *outpath, uiString &errmsg, TaskRunner *taskr=0)
 
bool downloadFiles (BufferStringSet &urls, BufferStringSet &outpaths, uiString &errmsg, TaskRunner *taskr=0)
 
bool downloadToBuffer (const char *url, DataBuffer *db, uiString &errmsg, TaskRunner *taskr=0)
 
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)
 
bool getRemoteFileSize (const char *url, od_int64 &size, uiString &errmsg)
 
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 setHttpProxyFromSettings ()
 
void setHttpProxyFromIOPar (const IOPar &)
 
bool getProxySettingsFromUser ()
 
const char * sKeyUseProxy ()
 
const char * sKeyUseAuthentication ()
 
const char * sKeyProxyHost ()
 
const char * sKeyProxyPort ()
 
const char * sKeyProxyUserName ()
 
const char * sKeyProxyPassword ()
 
const char * sKeyCryptProxyPassword ()
 

Function Documentation

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,
const char *  outpath,
uiString errmsg,
TaskRunner taskr = 0 
)
bool Network::downloadFiles ( BufferStringSet urls,
BufferStringSet outpaths,
uiString errmsg,
TaskRunner taskr = 0 
)
bool Network::downloadToBuffer ( const char *  url,
DataBuffer db,
uiString errmsg,
TaskRunner taskr = 0 
)
bool Network::getProxySettingsFromUser ( )
bool Network::getRemoteFileSize ( const char *  url,
od_int64 size,
uiString errmsg 
)
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 ( )
const char* Network::sKeyCryptProxyPassword ( )
inline
const char* Network::sKeyProxyHost ( )
inline
const char* Network::sKeyProxyPassword ( )
inline
const char* Network::sKeyProxyPort ( )
inline
const char* Network::sKeyProxyUserName ( )
inline
const char* Network::sKeyUseAuthentication ( )
inline
const char* Network::sKeyUseProxy ( )
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. 2019