xpz / cssmatch-plugin

Automatically exported from code.google.com/p/cssmatch-plugin
0 stars 0 forks source link

CSSMatch2 : MatchManager n'a pas besoin d'annoncer l' arbitre lanceur/stoppeur du match #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Car le code est différent suivant que l'arbitre est connu (menu) ou non
(rcon). Le paramètre optionnel des méthodes MatchManager::start et
MatchManager::stop pourrait donc être supprimé.

Original issue reported on code.google.com by dani...@hotmail.com on 13 Nov 2009 at 11:54

GoogleCodeExporter commented 8 years ago

Original comment by dani...@hotmail.com on 13 Nov 2009 at 11:57

GoogleCodeExporter commented 8 years ago
Ni de l'avertir si un match est déjà ou non.

Original comment by dani...@hotmail.com on 14 Nov 2009 at 3:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Du coup, si on ne s'occupe plus de l'arbitre MatchManager est silencieux en cas 
de
mauvaise utilisation. Que retourner, false/true ?
Est-ce que MatchManager ne devrait pas plutôt lancer des exceptions lors d'une
utilisation incorrecte ?

Original comment by dani...@hotmail.com on 14 Nov 2009 at 3:15

GoogleCodeExporter commented 8 years ago

Original comment by dani...@hotmail.com on 14 Nov 2009 at 3:16

GoogleCodeExporter commented 8 years ago
Le système d'exception s'impose si ceci est fait :
http://code.google.com/p/cssmatch-plugin/issues/detail?id=48#c3
Sinon il faut retourner un nombre inventé de toute pièce dans getMatchState et
qu'aucun état n'est en cours.

Original comment by dani...@hotmail.com on 14 Nov 2009 at 3:49

GoogleCodeExporter commented 8 years ago
Au final il est plus simple d'interdire un état initial valant NULL.

Original comment by dani...@hotmail.com on 14 Nov 2009 at 4:15

GoogleCodeExporter commented 8 years ago

Original comment by dani...@hotmail.com on 14 Nov 2009 at 5:06

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r232.

Original comment by dani...@hotmail.com on 14 Nov 2009 at 5:49