GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
QHttpProxy Class Reference

Here Qt-specific functionality of HttpProxy. More...

#include <TGo4HttpProxy.h>

Inheritance diagram for QHttpProxy:

Public Slots

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

Public Member Functions

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

Protected Attributes

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

Friends

class TGo4HttpAccess
class TGo4HttpProxy

Detailed Description

Here Qt-specific functionality of HttpProxy.

Definition at line 29 of file TGo4HttpProxy.h.

Constructor & Destructor Documentation

◆ QHttpProxy() [1/2]

QHttpProxy::QHttpProxy ( TGo4HttpProxy * p)

Definition at line 38 of file TGo4HttpProxy.cpp.

References authenticationRequiredSlot(), fHReply, fProxy, qnam, and TGo4HttpProxy.

◆ ~QHttpProxy() [1/2]

QHttpProxy::~QHttpProxy ( )
virtual

Definition at line 47 of file TGo4HttpProxy.cpp.

◆ QHttpProxy() [2/2]

QHttpProxy::QHttpProxy ( TGo4HttpProxy * p)

References TGo4HttpProxy.

◆ ~QHttpProxy() [2/2]

virtual QHttpProxy::~QHttpProxy ( )
virtual

Member Function Documentation

◆ authenticationRequiredSlot [1/2]

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

Definition at line 106 of file TGo4HttpProxy.cpp.

References fProxy.

Referenced by QHttpProxy().

◆ authenticationRequiredSlot [2/2]

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

◆ httpFinished [1/2]

void QHttpProxy::httpFinished ( )
slot

Definition at line 51 of file TGo4HttpProxy.cpp.

References fHReply, and fProxy.

Referenced by StartRequest().

◆ httpFinished [2/2]

void QHttpProxy::httpFinished ( )
slot

◆ httpHReqError [1/2]

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

Definition at line 61 of file TGo4HttpProxy.cpp.

References fHReply.

Referenced by StartRequest().

◆ httpHReqError [2/2]

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

◆ regularRequestFinished [1/2]

void QHttpProxy::regularRequestFinished ( )
slot

Definition at line 82 of file TGo4HttpProxy.cpp.

References fProxy.

Referenced by TGo4HttpProxy::ProcessRegularMultiRequest().

◆ regularRequestFinished [2/2]

void QHttpProxy::regularRequestFinished ( )
slot

◆ StartRequest() [1/2]

void QHttpProxy::StartRequest ( const char * url)

Definition at line 87 of file TGo4HttpProxy.cpp.

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

◆ StartRequest() [2/2]

void QHttpProxy::StartRequest ( const char * url)

◆ updateHierarchy [1/2]

void QHttpProxy::updateHierarchy ( )
slot

Definition at line 77 of file TGo4HttpProxy.cpp.

References fProxy.

Referenced by TGo4HttpProxy::DelayedRefreshNamesList().

◆ updateHierarchy [2/2]

void QHttpProxy::updateHierarchy ( )
slot

◆ updateRatemeter [1/2]

void QHttpProxy::updateRatemeter ( )
slot

Definition at line 71 of file TGo4HttpProxy.cpp.

References fProxy, and updateRatemeter().

Referenced by TGo4HttpProxy::Initialize(), and updateRatemeter().

◆ updateRatemeter [2/2]

void QHttpProxy::updateRatemeter ( )
slot

◆ TGo4HttpAccess

Definition at line 33 of file TGo4HttpProxy.h.

References TGo4HttpAccess.

Referenced by TGo4HttpAccess.

◆ TGo4HttpProxy

TGo4HttpProxy
friend

Definition at line 32 of file TGo4HttpProxy.h.

References TGo4HttpProxy.

Referenced by QHttpProxy(), and TGo4HttpProxy.

Field Documentation

◆ fHReply

QNetworkReply * QHttpProxy::fHReply {nullptr}
protected

central manager of network requests

Definition at line 37 of file TGo4HttpProxy.h.

Referenced by QHttpProxy(), httpFinished(), httpHReqError(), and StartRequest().

◆ fProxy

TGo4HttpProxy * QHttpProxy::fProxy {nullptr}
protected

used only to receive hierarchy

Definition at line 38 of file TGo4HttpProxy.h.

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

◆ qnam

QNetworkAccessManager QHttpProxy::qnam
protected

Definition at line 36 of file TGo4HttpProxy.h.

Referenced by QHttpProxy(), and StartRequest().


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