FACT++  1.0
ServiceList::ServiceList ( const char *  type,
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 type and inistialises fHandler with 0

Parameters
typeThe type of rows which is filtered out of the retrieved server list. Use "CMD" for commands and "" for services.
outA log-stream to which errors are sent. This however is something which should not happen anyway.

Definition at line 60 of file ServiceList.cc.

Referenced by CreateFMT().

60  :
61  wout(out), fDimServers("DIS_DNS/SERVER_LIST", const_cast<char*>(""), this),
62  fType(type), fHandler(0)
63 {
64 }
DimInfo fDimServers
stream for redirection of the output
Definition: ServiceList.h:25
std::ostream & wout
Definition: ServiceList.h:23
int type
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

+ Here is the caller graph for this function: