Changes between Version 15 and Version 16 of WikiStart


Ignore:
Timestamp:
02/28/19 17:05:07 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v15 v16  
    2525
    2626
    27 = How it is expected to work =
    28 The parties server is a component in the bigger genius2 framework. Its main function is to
     27= Communication protocol =
     28The parties server is a component in the bigger genius2 framework. Its mains function are
     29
     301. Provide a list of available parties on the server
     312. Create a running instance of a party on request
     32
     33@1 TODO describe PartiesListSocket protocol.
     34
     35@2
    2936* create an running instance of a party when a certain address on the server is requested
    3037* It then returns the address of a a websocket on which the party can be contacted. Usually this websocket will be on the same computer, but it might be elsewhere)
     
    3340 * can send JSON-formatted Action objects as requested by the agent (see the events module in genius2 core)
    3441
    35 In Genius2, the class {{{Connection<Inform, Action>}}} (see the references module in genius2 core) represents an abstract connection, the actual conversion is done with Jackson in the partiesserver.
     42In Genius2, this is implemented in the RunParty class. The class {{{Connection<Inform, Action>}}} (see the references module in genius2 core) represents an abstract connection, the actual conversion is done with Jackson in RunParty.
     43
     44However different services could be implemented based on different languages, as long as the procedure above is met.
    3645
    3746== Using the source code ==