44 fDimServers(
"DIS_DNS/SERVER_LIST", const_cast<char*>(
""), this)
63 if (str[0]!=
'-' && str[0]!=
'+')
70 stringstream stream(str);
74 while (getline(stream, buffer,
'|'))
77 const string server = buffer.substr(0, buffer.find_first_of(
'@'));
84 const string trunc = server.substr(1);
105 const string trunc = server.substr(1);
virtual void RemoveAllServers()
virtual void AddServer(const std::string &)
bool HasServer(const std::string &server) const
virtual void RemoveServer(std::string)
void infoHandler()
A DimInfo to retrieve the SERVER_LIST from teh DNS server.
DimInfo fDimServers
A list with the available servers.
DimServerList(DimServerListImp *list)