- Implementing functions for the GRP preprocessor to retrieve DA output files from...
[u/mrichter/AliRoot.git] / SHUTTLE / DCSClient / AliDCSClient.h
index 4719b0e..1bd347e 100644 (file)
@@ -28,11 +28,10 @@ public:
                fgkTimeout = -3,             // Timeout
                fgkBadMessage = -4,          // Bad message
                fgkCommError = -5,           // Communication error
-               fgkServerError = -6          // Server error
+               fgkServerError = -6,         // Server error
+               fgkUnknownDP = -7            // unknown alias/DP error
        };
        
-////   friend class AliShuttle;
-
        AliDCSClient(const char* host, Int_t port, UInt_t timeout = 5000,
                         Int_t retries = 5, Int_t multiSplit = 100);
         virtual ~AliDCSClient();
@@ -59,7 +58,6 @@ public:
 
         void Close();
 
-
         static const char* GetErrorString(Int_t code);
 
 private:
@@ -69,6 +67,7 @@ private:
        static const char* fgkBadMessageString;         // Bad message string
        static const char* fgkCommErrorString;          // Communication error string
        static const char* fgkServerErrorString;        // Server error string
+       static const char* fgkUnknownDPString;          // Unknown alias/DP string
 
        TSocket* fSocket;       // Pointer to the TCP socket client
        TString fHost;          // server host
@@ -84,11 +83,8 @@ private:
        Bool_t Connect();
 
        Int_t SendBuffer(const char* buffer, Int_t size);
-
        Int_t ReceiveBuffer(char* buffer, Int_t size);
-
        Int_t SendMessage(AliDCSMessage& message);
-
        Int_t ReceiveMessage(AliDCSMessage& message);
 
        Int_t GetValues(AliDCSMessage::RequestType requestType,
@@ -99,7 +95,7 @@ private:
                const TSeqCollection* list, UInt_t startTime, UInt_t endTime,
                Int_t startIndex, Int_t endIndex);
 
-       Int_t ReceiveValueSet(TObjArray* result);
+       Int_t ReceiveValueSet(TObjArray* result, Int_t& ownerIndex);
 
        AliDCSClient(const AliDCSClient& other);                // not implemented
        AliDCSClient& operator= (const AliDCSClient& other);    // not implemented