public String ParseCommand(String s) throws InterruptedException
	{
		String answer = "";
		
		Match m;
		
		if(s.startsWith(Commands.GET_LIST_MATCH.toString()))
		{
			s = s.substring(Commands.GET_LIST_MATCH.toString().length());
			answer = "ListMatch|" + ListeDesMatchs.getListeDesMatchs().ToJson();
		}
		else if (s.startsWith(Commands.GET_EQUIPES_MATCH.toString()))
		{
			try{
				//ex: request/num/num ou request/num si premier partie
				String[] requestParams = s.split("/");
				int matchID = Integer.parseInt(requestParams[1]);
				
				m = ListeDesMatchs.getListeDesMatchs().getMatch(matchID);
				
				answer = "EquipeMatch|" + m.ToJson();
			}
			catch(Exception e )
			{
				e.printStackTrace();
			}
		}
		else if(s.startsWith(Commands.GET_RESULT_BET.toString())){
			String[] reqStrings = s.split("/");
			int matchID = Integer.parseInt(reqStrings[1]);
			UUID uuid = UUID.fromString(reqStrings[2]);
			
			m = ListeDesMatchs.getListeDesMatchs().getMatch(matchID);
			if(m.getButD() > m.getButV()){
				answer = m.getParis().calculerGain("D", uuid);
			}
			else if (m.getButV() > m.getButD()){
				answer = m.getParis().calculerGain("V", uuid);
			}
			else{
				answer = m.getParis().calculerGain("N", uuid);
			}
		}
		return answer;
	}