GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Slots | Public Member Functions | Protected Attributes | List of all members
TGo4HttpAccess Class Reference

#include <TGo4HttpProxy.h>

+ Inheritance diagram for TGo4HttpAccess:

Public Slots

void httpFinished ()
 
void httpError (QNetworkReply::NetworkError)
 

Public Member Functions

 TGo4HttpAccess (TGo4HttpProxy *proxy, XMLNodePointer_t node, Int_t kind=1, const char *extra_arg=0)
 
virtual ~TGo4HttpAccess ()
 
virtual Bool_t IsRemote () const
 
virtual Bool_t CanGetObject () const
 
virtual Bool_t GetObject (TObject *&obj, Bool_t &owner) const
 
virtual TClass * GetObjectClass () const
 
virtual const char * GetObjectName () const
 
virtual const char * GetObjectClassName () const
 
virtual Int_t AssignObjectTo (TGo4ObjectManager *rcv, const char *path)
 
- Public Member Functions inherited from TGo4Access
virtual ~TGo4Access ()
 
Int_t AssignObjectToSlot (TGo4Slot *slot)
 

Protected Attributes

TGo4HttpProxyfProxy
 
XMLNodePointer_t fNode
 
TString fUrlPath
 
Int_t fKind
 
TString fNameAttr
 
TString fKindAttr
 
TString fExtraArg
 
TGo4ObjectManagerfReceiver
 
TString fRecvPath
 
QNetworkReply * fReply
 

Additional Inherited Members

- Public Types inherited from TGo4Access
enum  {
  kndNone = -1, kndObject = 0, kndFolder = 1, kndTreeBranch = 2,
  kndTreeLeaf = 3, kndGo4Param = 4, kndDataMember = 5, kndEventElement = 6,
  kndMoreFolder = 7, kndRootCommand = 8
}
 
- Protected Member Functions inherited from TGo4Access
void DoObjectAssignement (TGo4ObjectManager *rcv, const char *path, TObject *obj, Bool_t owner)
 

Detailed Description

Definition at line 60 of file TGo4HttpProxy.h.

Constructor & Destructor Documentation

TGo4HttpAccess::TGo4HttpAccess ( TGo4HttpProxy proxy,
XMLNodePointer_t  node,
Int_t  kind = 1,
const char *  extra_arg = 0 
)
virtual TGo4HttpAccess::~TGo4HttpAccess ( )
inlinevirtual

Definition at line 92 of file TGo4HttpProxy.h.

Member Function Documentation

Int_t TGo4HttpAccess::AssignObjectTo ( TGo4ObjectManager rcv,
const char *  path 
)
virtual

Have to assign object to provided receiver. Returns: 0 - if object can not be assigned 1 - if object assigned 2 - if object will be assigned later

Reimplemented from TGo4Access.

Definition at line 197 of file TGo4HttpProxy.cpp.

References TGo4HttpProxy::fComm, fExtraArg, fKind, TGo4ServerProxy::fNodeName, fProxy, fReceiver, fRecvPath, fReply, fUrlPath, GetObjectClass(), GetObjectClassName(), httpError(), httpFinished(), and QHttpProxy::qnam.

virtual Bool_t TGo4HttpAccess::CanGetObject ( ) const
inlinevirtual

Returns kTRUE, when object can be directly obtained with GetObject() method

Reimplemented from TGo4Access.

Definition at line 96 of file TGo4HttpProxy.h.

virtual Bool_t TGo4HttpAccess::GetObject ( TObject *&  obj,
Bool_t &  owner 
) const
inlinevirtual

Reimplemented from TGo4Access.

Definition at line 98 of file TGo4HttpProxy.h.

TClass * TGo4HttpAccess::GetObjectClass ( ) const
virtual

Reimplemented from TGo4Access.

Definition at line 168 of file TGo4HttpProxy.cpp.

References fKind, fKindAttr, TGo4Proxy::GetClass(), and GetHttpRootClassName().

Referenced by AssignObjectTo(), and httpFinished().

const char * TGo4HttpAccess::GetObjectClassName ( ) const
virtual

Reimplemented from TGo4Access.

Definition at line 184 of file TGo4HttpProxy.cpp.

References fKind, fKindAttr, and GetHttpRootClassName().

Referenced by AssignObjectTo(), and httpFinished().

const char * TGo4HttpAccess::GetObjectName ( ) const
virtual

Reimplemented from TGo4Access.

Definition at line 179 of file TGo4HttpProxy.cpp.

References fNameAttr.

void TGo4HttpAccess::httpError ( QNetworkReply::NetworkError  )
slot

Definition at line 247 of file TGo4HttpProxy.cpp.

Referenced by AssignObjectTo().

void TGo4HttpAccess::httpFinished ( )
slot
virtual Bool_t TGo4HttpAccess::IsRemote ( ) const
inlinevirtual

Indicate if object is remote

Reimplemented from TGo4Access.

Definition at line 94 of file TGo4HttpProxy.h.

Member Data Documentation

TString TGo4HttpAccess::fExtraArg
protected

Definition at line 79 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and TGo4HttpAccess().

Int_t TGo4HttpAccess::fKind
protected

Definition at line 76 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), GetObjectClass(), GetObjectClassName(), and httpFinished().

TString TGo4HttpAccess::fKindAttr
protected

Definition at line 78 of file TGo4HttpProxy.h.

Referenced by GetObjectClass(), GetObjectClassName(), and TGo4HttpAccess().

TString TGo4HttpAccess::fNameAttr
protected

Definition at line 77 of file TGo4HttpProxy.h.

Referenced by GetObjectName(), and TGo4HttpAccess().

XMLNodePointer_t TGo4HttpAccess::fNode
protected

Definition at line 66 of file TGo4HttpProxy.h.

Referenced by httpFinished(), and TGo4HttpAccess().

TGo4HttpProxy* TGo4HttpAccess::fProxy
protected

Definition at line 65 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), httpFinished(), and TGo4HttpAccess().

TGo4ObjectManager* TGo4HttpAccess::fReceiver
protected

Definition at line 80 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and httpFinished().

TString TGo4HttpAccess::fRecvPath
protected

Definition at line 81 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and httpFinished().

QNetworkReply* TGo4HttpAccess::fReply
protected

Definition at line 82 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and httpFinished().

TString TGo4HttpAccess::fUrlPath
protected

Definition at line 67 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), httpFinished(), and TGo4HttpAccess().


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