43 Int_t TProofMonSender::SetSendOptions(
const char *sendopts)
47 if (sendopts && strlen(sendopts) > 0) {
49 PDB(kMonitoring,1) Info("SetSendOptions", "sendopts: '%s'", sendopts);
54 TString oos(sendopts), oo;
56 while (oos.Tokenize(oo, from, ":")) {
57 PDB(kMonitoring,2) Info("SetSendOptions", "oo: '%s'", oo.Data());
60 if (oo.BeginsWith("+")) oo.Remove(0,1);
61 if (oo.BeginsWith("-")) { doit = kFALSE; oo.Remove(0,1); }
62 PDB(kMonitoring,2) Info("SetSendOptions", "oo: '%s' doit:%d", oo.Data(), doit);
65 PDB(kMonitoring,2) Info("SetSendOptions", "oo: '%s' doit:%d t:'%c'", oo.Data(), doit, t);
67 if (!oo.IsNull() && oo.IsDigit()) v = oo.Atoi();
68 PDB(kMonitoring,2) Info("SetSendOptions", "oo: '%s' doit:%d t:'%c' v:%d", oo.Data(), doit, t, v);
70 TProofMonSender::EConfigBits cbit = kSendSummary;
71 if (t == 'D') cbit = kSendDataSetInfo;
72 if (t == 'F') cbit = kSendFileInfo;
78 if (t ==
'S') fSummaryVrs = v;
79 if (t ==
'D') fDataSetInfoVrs = v;
80 if (t ==
'F') fFileInfoVrs = v;
86 if (!(TestBit(kSendSummary) || TestBit(kSendDataSetInfo) || TestBit(kSendFileInfo))) {
87 Warning(
"SetSendOptions",
"all tables are disabled!");
92 TString snot = TString::Format(
"%s: sending:", GetTitle());
93 if (TestBit(kSendSummary)) snot += TString::Format(
" 'summary' (v:%d)", fSummaryVrs);
94 if (TestBit(kSendDataSetInfo)) snot += TString::Format(
" 'dataset info' (v:%d)", fDataSetInfoVrs);
95 if (TestBit(kSendFileInfo)) snot += TString::Format(
" 'file info' (v:%d)", fFileInfoVrs);
96 Info(
"SetSendOptions",
"%s", snot.Data());