17 #include "Riostream.h"
21 #include "TDirectory.h"
24 #include "TGo4LockGuard.h"
46 TNamed(name,
"This is a Go4 object client"),
88 if(obj && obj->InheritsFrom(TGo4AnalysisObjectNames::Class()))
145 TDirectory* savdir=gDirectory;
147 buffer->SetReadMode();
150 obj=buffer->ReadObject(0);
151 if(obj) std::cout <<
"read object of class"<<obj->ClassName() << std::endl;
178 if(openok!=0)
return 1;
182 if(recvchar==0)
return 1;
191 if(recvchar==0)
return 1;
230 TGo4Log::Debug(
" !!!Receive Error in Object Client %s!!!",GetName());
void SetBase(const char *serverbase)
virtual Int_t Close(Option_t *opt="")
void SetPasswd(const char *serverpasswd)
const TBuffer * GetBuffer() const
virtual Int_t Send(TObject *obj)
TObject * ReceiveObject()
TGo4AnalysisObjectNames * RequestNamesList(const char *base=0, const char *passwd=0, const char *host=0, Int_t port=0)
static const char * Get_fgcOK()
virtual Int_t Open(const char *host, Int_t port, Bool_t keepservsock=kFALSE)
static void SetLastSignal(Int_t v=0)
const char * GetHost() const
void SetHost(const char *serverhost)
void SetParms(const char *base, const char *passwd, const char *host, Int_t port)
static bool IsLastSignalWINCH()
const char * GetPasswd() const
TObject * RequestObject(const char *objectname, const char *base=0, const char *passwd=0, const char *host=0, Int_t port=0)
const char * GetBase() const
static const char * fgcCOMGETLIST
virtual char * RecvRaw(const char *name=0)
static void Error(const char *text,...)
void SendCommand(const char *com)
static void Debug(const char *text,...)
TBuffer * ReceiveBuffer()