16 #include "Riostream.h"
36 if(buflen<=0 && buffer!=0)
39 Text_t localbuf[4096];
40 Text_t* current=localbuf;
42 Int_t restlen=locallen;
43 current=
PrintBuffer(current,restlen,
"G-OOOO-> Client Status Class %s Printout: <-OOOO-G\n",GetName());
44 current=
PrintBuffer(current,restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
46 current=
PrintBuffer(current,restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
50 current=
PrintBuffer(current,restlen,
"G-OOOO-> END Client Status Class Printout END <-OOOO-G\n");
53 std::cout << localbuf << std::endl;
57 size=locallen-restlen;
60 strncpy(buffer,localbuf,size);
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
virtual ~TGo4ClientStatus()
void SetNames(const char *serverhost)
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)