FACT++  1.0
void CmndServ::commandHandler ( )
inlineprivatevirtual

Reimplemented from DimCommand.

Definition at line 42 of file cpp_server.cxx.

References DimServer::getClientName(), DimServer::getClientServices(), and DimService::updateService().

43  {
44  int index = 0;
45  char **services;
46  cout << "Command " << getString() << " received" << endl;
48  services = DimServer::getClientServices();
49  cout<< "from "<< DimServer::getClientName() << " services:" << endl;
50  while(services[index])
51  {
52  cout << services[index] << endl;
53  index++;
54  }
55  }
static char * getClientName()
Definition: discpp.cxx:579
DimService servstr
char * getString()
Definition: discpp.cxx:1438
int updateService()
Definition: discpp.cxx:1016
static char ** getClientServices()
Definition: discpp.cxx:601

+ Here is the call graph for this function: