library: libProofx
#include "TXProofMgr.h"

TXProofMgr


class description - source file - inheritance tree (.pdf)

class TXProofMgr : public TVirtualProofMgr, public TXHandler

Inheritance Chart:
TObject
<-
TNamed
<-
TVirtualProofMgr
TXHandler
<-
TXProofMgr
    private:
Int_t Init(Int_t loglevel = -1) public:
TXProofMgr(const char* url, Int_t loglevel = -1, const char* alias = "") virtual ~TXProofMgr() virtual TVirtualProof* AttachSession(Int_t id, Bool_t gui = kFALSE) static TClass* Class() virtual void DetachSession(Int_t, Option_t* = "") virtual Bool_t HandleError() virtual TClass* IsA() const virtual Bool_t IsValid() const virtual Bool_t MatchUrl(const char* url) virtual TList* QuerySessions(Option_t* opt = "S") virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void ShowWorkers() virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TXSocket* fSocket Connection to XRD

Class Description

                                                                      
 TXProofMgr                                                           
                                                                      
 The PROOF manager interacts with the PROOF server coordinator to     
 create or destroy a PROOF session, attach to or detach from          
 existing one, and to monitor any client activity on the cluster.     
 At most one manager instance per server is allowed.                  
                                                                      


TXProofMgr(const char *url, Int_t dbg, const char *alias) : TVirtualProofMgr(url)
 Create a PROOF manager for the standard (old) environment.

Int_t Init(Int_t)
 Do real initialization: open the connection and set the relevant
 variables.
 Login and authentication are dealt with at this level, if required.
 Return 0 in case of success, 1 if the remote server is a 'proofd',
 -1 in case of error.

~TXProofMgr()
 Destructor: close the connection

TVirtualProof* AttachSession(Int_t id, Bool_t gui)
 Dummy version provided for completeness. Just returns a pointer to
 existing session 'id' (as shown by TProof::QuerySessions) or 0 if 'id' is
 not valid. The boolena 'gui' should be kTRUE when invoked from the GUI.

void DetachSession(Int_t id, Option_t *opt)
 Detach session with 'id' from its proofserv. The 'id' is the number
 shown by QuerySessions.

Bool_t MatchUrl(const char *url)
 Checks if 'url' refers to the same 'user@host:port' entity as the URL
 in memory. TVirtualProofMgr::MatchUrl cannot be used here because of the
 'double' default port, implying an additional check on the port effectively
 open.

void ShowWorkers()
 Show available workers

TList* QuerySessions(Option_t *opt)
 Get list of sessions accessible to this manager

Bool_t HandleError()
 Handle error on the input socket



Inline Functions


             Bool_t IsValid() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Gerardo Ganis 12/12/2005
Last update: root/proofx:$Name: $:$Id: TXProofMgr.cxx,v 1.9 2006/05/01 20:13:42 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.