GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Slots | Public Member Functions | Protected Attributes | Friends | List of all members
QHttpProxy Class Reference

#include <TGo4HttpProxy.h>

+ Inheritance diagram for QHttpProxy:

Public Slots

void httpFinished ()
 
void httpHReqError (QNetworkReply::NetworkError)
 
void authenticationRequiredSlot (QNetworkReply *, QAuthenticator *)
 
void updateRatemeter ()
 
void updateHierarchy ()
 
void regularRequestFinished ()
 

Public Member Functions

 QHttpProxy (TGo4HttpProxy *p)
 
virtual ~QHttpProxy ()
 
void StartRequest (const char *url)
 

Protected Attributes

QNetworkAccessManager qnam
 
QNetworkReply * fHReply {nullptr}
 central manager of network requests More...
 
TGo4HttpProxyfProxy {nullptr}
 used only to receive hierarchy More...
 

Friends

class TGo4HttpProxy
 
class TGo4HttpAccess
 

Detailed Description

Here Qt-specific functionality of HttpProxy

Definition at line 29 of file TGo4HttpProxy.h.

Constructor & Destructor Documentation

◆ QHttpProxy()

QHttpProxy::QHttpProxy ( TGo4HttpProxy p)

Definition at line 38 of file TGo4HttpProxy.cpp.

References authenticationRequiredSlot(), and qnam.

◆ ~QHttpProxy()

QHttpProxy::~QHttpProxy ( )
virtual

Definition at line 47 of file TGo4HttpProxy.cpp.

Member Function Documentation

◆ authenticationRequiredSlot

void QHttpProxy::authenticationRequiredSlot ( QNetworkReply *  repl,
QAuthenticator *  auth 
)
slot

Definition at line 106 of file TGo4HttpProxy.cpp.

References TGo4HttpProxy::fPassword, fProxy, and TGo4HttpProxy::fUserName.

Referenced by QHttpProxy().

◆ httpFinished

void QHttpProxy::httpFinished ( )
slot

Definition at line 51 of file TGo4HttpProxy.cpp.

References fHReply, fProxy, and TGo4HttpProxy::GetHReply().

Referenced by StartRequest().

◆ httpHReqError

void QHttpProxy::httpHReqError ( QNetworkReply::NetworkError  code)
slot

Definition at line 61 of file TGo4HttpProxy.cpp.

References fHReply.

Referenced by StartRequest().

◆ regularRequestFinished

void QHttpProxy::regularRequestFinished ( )
slot

◆ StartRequest()

void QHttpProxy::StartRequest ( const char *  url)

Definition at line 87 of file TGo4HttpProxy.cpp.

References fHReply, httpFinished(), httpHReqError(), and qnam.

Referenced by TGo4HttpProxy::UpdateHierarchy().

◆ updateHierarchy

void QHttpProxy::updateHierarchy ( )
slot

Definition at line 77 of file TGo4HttpProxy.cpp.

References fProxy, and TGo4HttpProxy::UpdateHierarchy().

Referenced by TGo4HttpProxy::DelayedRefreshNamesList().

◆ updateRatemeter

void QHttpProxy::updateRatemeter ( )
slot

Definition at line 71 of file TGo4HttpProxy.cpp.

References fProxy, and TGo4HttpProxy::ProcessUpdateTimer().

Referenced by TGo4HttpProxy::Initialize().

Friends And Related Function Documentation

◆ TGo4HttpAccess

friend class TGo4HttpAccess
friend

Definition at line 33 of file TGo4HttpProxy.h.

◆ TGo4HttpProxy

friend class TGo4HttpProxy
friend

Definition at line 32 of file TGo4HttpProxy.h.

Member Data Documentation

◆ fHReply

QNetworkReply* QHttpProxy::fHReply {nullptr}
protected

central manager of network requests

Definition at line 37 of file TGo4HttpProxy.h.

Referenced by httpFinished(), httpHReqError(), TGo4HttpProxy::NamesListReceived(), StartRequest(), and TGo4HttpProxy::UpdateHierarchy().

◆ fProxy

TGo4HttpProxy* QHttpProxy::fProxy {nullptr}
protected

used only to receive hierarchy

Definition at line 38 of file TGo4HttpProxy.h.

Referenced by authenticationRequiredSlot(), httpFinished(), regularRequestFinished(), updateHierarchy(), and updateRatemeter().

◆ qnam

QNetworkAccessManager QHttpProxy::qnam
protected

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