FACT++  1.0
int DimNetwork::GetCurrentState ( const string &  server) const
Parameters
serverserver for which the current state should be returned
Returns
the current state of the given server, -2 if the server was not found

Definition at line 138 of file DimNetwork.cc.

139 {
140  const ClientList::const_iterator v = fClientList.find(server);
141  return v==fClientList.end() ? -2 : v->second->GetState();
142 }
ClientList fClientList
Definition: DimNetwork.h:69