FACT++  1.0
ServiceList::ServiceList ( std::ostream &  out = std::cout)

Instantiates the default output-stream, subscribes to the Dim service DIS_DNS/SERVER_LIST, which is supposed to contain all servers available in the network, sets fType to "CMD" and inistialises fHandler with 0

Parameters
outA log-stream to which errors are sent. This however is something which should not happen anyway.

Definition at line 76 of file ServiceList.cc.

76  :
77  wout(out), fDimServers("DIS_DNS/SERVER_LIST", const_cast<char*>(""), this),
78  fType(""), fHandler(0)
79 {
80 }
DimInfo fDimServers
stream for redirection of the output
Definition: ServiceList.h:25
std::ostream & wout
Definition: ServiceList.h:23
const std::string fType
A DimInfo to retrieve the SERVER_LIST from teh DNS server.
Definition: ServiceList.h:27
DimInfoHandler * fHandler
A map storing all descriptions for arguments of command and services.
Definition: ServiceList.h:35