Changes between Version 28 and Version 29 of WikiStart
- Timestamp:
- 03/28/19 16:41:48 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v28 v29 63 63 = Communication protocol 64 64 65 This section deals with the communication protocols with the 65 This section deals with the communication protocols with the runserver. These may be relevant when you need to communicate directly with it, e.g. when you build your own GUI or start up your own sessions and tournaments from a script. Other implementations of a runserver should adhere to the same communication protocols to ensure compatibility with genius2. 66 66 67 67 === Run Session … … 87 87 88 88 == Run Tournament 89 This section describes the RunTournament service. It is available at {{{http:..:8080//runserver/runtournament}}}.89 This section describes the RunTournament webservice. It is available at {{{http:..:8080//runserver/runtournament}}}. 90 90 This service starts up and runs a complete tournament when it is accessed (http get or post). 91 To start a tournament, the http get must include a JSON-serialized genius2.protocol.session.TournamentSettings object. Typically this looks like this (assuming you want to use AllPermutations protocol): 91 To start a tournament, the http get must include a JSON-serialized genius2.protocol.session.TournamentSettings object. The javadoc in the [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/protocol/src/main/java/genius2/protocol/tournament/allpermutations/AllPermutationsSettings.java source code] provides all the details, here we give a brief overview. 92 93 Typically this looks like this (assuming you want to use AllPermutations protocol): 92 94 {{{ 93 95 {"AllPermutationsSettings":{