Changes between Version 28 and Version 29 of WikiStart


Ignore:
Timestamp:
03/28/19 16:41:48 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v28 v29  
    6363= Communication protocol
    6464
    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.
     65This 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.
    6666
    6767=== Run Session
     
    8787
    8888== Run Tournament
    89 This section describes the RunTournament service. It is available at {{{http:..:8080//runserver/runtournament}}}.
     89This section describes the RunTournament webservice. It is available at {{{http:..:8080//runserver/runtournament}}}.
    9090This 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):
     91To 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
     93Typically this looks like this (assuming you want to use AllPermutations protocol):
    9294{{{
    9395{"AllPermutationsSettings":{