Add a new server subscription.
Definition at line 535 of file datalogger.cc.
References Debug, HandleDescriptions(), DimDescriptions::SetCallbackDescriptions(), str, and DimDescriptions::Subscribe().
Referenced by DataLogger().
537 Info(
"Got request to add server " + server );
538 if (server !=
"DIS_DNS")
541 if ((*it)->server == server)
546 str <<
"Already got description for server " << server <<
". Ignoring." << endl;
vector< DimDescriptions * > fServerDescriptionsList
int Debug(const std::string &str)
bool fDebugIsOn
configuration flags
int HandleDescriptions(DimDescriptions *desc)
the two methods below were copied from StateMachineDimControl.cc
void SetCallbackDescriptions(const callback_desc &cb)
int Info(const std::string &str)
virtual void Subscribe(StateMachineImp &imp)