@Override
	public void onResponse( Object cookie, ResponseJSO response, int msgLevel, String msg )
	{
		PendingRequestInfo info = (PendingRequestInfo) cookie;

		// Store answer in cache
		if( info.fStoreResultInCache )
			cache.put( info.requestKey, response );

		// give the result to all the subscribees
		for( RequestCallInfo call : info.subscriptions )
			call.setResult( msgLevel, msg, null, response );

		// forget this request
		pendingRequests.remove( info );

		// calls back the clients
		checkAnswersToGive();
	}
@ Override public void onResponse ( Object cookie , ResponseJSO response , int msgLevel , String msg ) { PendingRequestInfo info = ( PendingRequestInfo ) cookie ; if ( info . fStoreResultInCache ) cache . put ( info . requestKey , response ) ; for ( RequestCallInfo call : info . subscriptions ) call . setResult ( msgLevel , msg , null , response ) ; pendingRequests . remove ( info ) ; checkAnswersToGive ( ) ; }
receives the answer from the ServerComm object