qaengine/src/ClientInterface.cxx
//------------------------------------------------------------------------------
// This function will process all administrator requests
//------------------------------------------------------------------------------
This function will process all administrator requests
This function will process all administrator requests
void ClientInterface::processClientRequest(void) {
	map<int,ClientInfo*>::iterator i;
	for(i=m_Clients.begin();i!=m_Clients.end();i++) {
		if(CheckSocket(i->first)) {
            if(processQuery(i->first)==-1) {
				delete m_Clients[i->first];
				m_Clients.erase(i);				
				return;
			}
		}
	}
}
void ClientInterface :: processClientRequest ( void ) { map < int , ClientInfo * > :: iterator i ; for ( i = m_Clients . begin ( ) ; i != m_Clients . end ( ) ; i ++ ) { if ( CheckSocket ( i -> first ) ) { if ( processQuery ( i -> first ) == -1 ) { delete m_Clients [ i -> first ] ; m_Clients . erase ( i ) ; return ; } } } }
This function will process all administrator requests
This function will process all administrator requests
// Client disconnected - we will free memory // allocated for the current build TaskDriver // and, if in the delta mode, memory allocated for the // old build TaskDriver //                cout << "Client disconnected."<<endl;