Changes between Version 34 and Version 35 of WikiStart


Ignore:
Timestamp:
05/14/19 17:13:53 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v34 v35  
    7070To start a negotiation, the http get must include a JSON-serialized [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/protocol/src/main/java/genius2/protocol/NegoSettings.java genius2.protocol.NegoSettings] object. All details are in the javadocs, here we discuss it only briefly.
    7171
     72After session is started, popup shows the negotiation ID. The ID starts with the name of the protocol (SAOP, APP) followed by a serial number.
     73
    7274Typically the settings looks like this (session with SAOP protocol):
    7375{{{
     
    110112
    111113=== View Running Negotiations
    112 The websocket address {{{ws:..runserver/websocket/running}}} sends updates of the current list of running sessions. The list is sent as a JSON List of strings , each string being the session ID of the running session. Every time the list changes, a new complete list is sent to clients listening to the websocket.
     114The websocket address {{{ws:..runserver/websocket/running}}} sends updates of the current list of running negotiations. The list is sent as a JSON List of strings, each string being the negotiation ID of the running session. Every time the list changes, a new complete list is sent to clients listening to the websocket.
    113115
    114116== Viewing the outcome of a negotiation