// @(#)root/proof:$Id$
// Author: G. Ganis Mar 2008

/*************************************************************************
 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TSlaveLite
#define ROOT_TSlaveLite


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TSlaveLite                                                           //
//                                                                      //
// This is the version of TSlave for local worker servers.              //
// See TSlave for details.                                              //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TSlave
#include "TSlave.h"
#endif

class TObjString;
class TSocket;
class TSignalHandler;

class TSlaveLite : public TSlave {

friend class TProof;

private:
   Bool_t   fValid;
   TSignalHandler *fIntHandler;     //interrupt signal handler (ctrl-c)

   void  Init();

public:
   TSlaveLite(const char *ord, Int_t perf,
              const char *image, TProof *proof, Int_t stype,
              const char *workdir, const char *msd, Int_t = 1);
   virtual ~TSlaveLite();

   void   Close(Option_t *opt = "");
   void   DoError(int level, const char *location, const char *fmt,
                  va_list va) const;

   void   Print(Option_t *option="") const;
   Int_t  SetupServ(Int_t stype, const char *conffile);

   ClassDef(TSlaveLite, 0)  //PROOF lite worker server
};

#endif
 TSlaveLite.h:1
 TSlaveLite.h:2
 TSlaveLite.h:3
 TSlaveLite.h:4
 TSlaveLite.h:5
 TSlaveLite.h:6
 TSlaveLite.h:7
 TSlaveLite.h:8
 TSlaveLite.h:9
 TSlaveLite.h:10
 TSlaveLite.h:11
 TSlaveLite.h:12
 TSlaveLite.h:13
 TSlaveLite.h:14
 TSlaveLite.h:15
 TSlaveLite.h:16
 TSlaveLite.h:17
 TSlaveLite.h:18
 TSlaveLite.h:19
 TSlaveLite.h:20
 TSlaveLite.h:21
 TSlaveLite.h:22
 TSlaveLite.h:23
 TSlaveLite.h:24
 TSlaveLite.h:25
 TSlaveLite.h:26
 TSlaveLite.h:27
 TSlaveLite.h:28
 TSlaveLite.h:29
 TSlaveLite.h:30
 TSlaveLite.h:31
 TSlaveLite.h:32
 TSlaveLite.h:33
 TSlaveLite.h:34
 TSlaveLite.h:35
 TSlaveLite.h:36
 TSlaveLite.h:37
 TSlaveLite.h:38
 TSlaveLite.h:39
 TSlaveLite.h:40
 TSlaveLite.h:41
 TSlaveLite.h:42
 TSlaveLite.h:43
 TSlaveLite.h:44
 TSlaveLite.h:45
 TSlaveLite.h:46
 TSlaveLite.h:47
 TSlaveLite.h:48
 TSlaveLite.h:49
 TSlaveLite.h:50
 TSlaveLite.h:51
 TSlaveLite.h:52
 TSlaveLite.h:53
 TSlaveLite.h:54
 TSlaveLite.h:55
 TSlaveLite.h:56
 TSlaveLite.h:57
 TSlaveLite.h:58
 TSlaveLite.h:59