CFx SDK Documentation  2020SP3
Classes | Public Types | Public Member Functions | List of all members
CFxNetworkAccessManager Class Referenceabstract

#include <FxNetworkAccessManager.h>

Inheritance diagram for CFxNetworkAccessManager:
CFxNetworkAccessManager2

Classes

struct  AccessData
 
struct  Parameter
 

Public Types

typedef std::vector< ParameterParametersList
 

Public Member Functions

 CFxNetworkAccessManager ()
 
virtual ~CFxNetworkAccessManager ()
 
virtual QNetworkReply * post (const AccessData &data)=0
 
virtual QNetworkReply * get (const AccessData &data)=0
 
virtual QNetworkProxy proxy ()=0
 
virtual void setProxy (const QNetworkProxy &proxy)=0
 
virtual bool findProxyServer ()=0
 
virtual int showDialog ()=0
 

Detailed Description

Description: Represents a CFx class for network communications via HTTP. This class will cover issues with proxy servers. Library: DDKERNEL

Definition at line 57 of file FxNetworkAccessManager.h.

Member Typedef Documentation

◆ ParametersList

Definition at line 74 of file FxNetworkAccessManager.h.

Constructor & Destructor Documentation

◆ CFxNetworkAccessManager()

CFxNetworkAccessManager::CFxNetworkAccessManager ( )

◆ ~CFxNetworkAccessManager()

virtual CFxNetworkAccessManager::~CFxNetworkAccessManager ( )
virtual

Member Function Documentation

◆ findProxyServer()

virtual bool CFxNetworkAccessManager::findProxyServer ( )
pure virtual

Description: Checks if some proxy server details can be found. After updating proxy server a sample request is done to get authentification details if needed. This call is blocking.

◆ get()

virtual QNetworkReply* CFxNetworkAccessManager::get ( const AccessData data)
pure virtual

Description: Sends the get request using the access data.

◆ post()

virtual QNetworkReply* CFxNetworkAccessManager::post ( const AccessData data)
pure virtual

Description: Sends the post request using the access data.

◆ proxy()

virtual QNetworkProxy CFxNetworkAccessManager::proxy ( )
pure virtual

Description: Returns the proxy object containing proxy server setting.

◆ setProxy()

virtual void CFxNetworkAccessManager::setProxy ( const QNetworkProxy &  proxy)
pure virtual

Description: Sets the proxy data (type, host, port, user, and password).

◆ showDialog()

virtual int CFxNetworkAccessManager::showDialog ( )
pure virtual

Description: Shows the proxy server settings dialog. The user can add/change settings for a proxy server connection. Settings can be read via CFxNetworkAccessManager::proxy().

If you cancels dialog method will return RTCAN else RTNORM.


The documentation for this class was generated from the following file: