Changes between Version 15 and Version 16 of WikiStart
- Timestamp:
- 02/28/19 17:05:07 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v15 v16 25 25 26 26 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 = 28 The parties server is a component in the bigger genius2 framework. Its mains function are 29 30 1. Provide a list of available parties on the server 31 2. Create a running instance of a party on request 32 33 @1 TODO describe PartiesListSocket protocol. 34 35 @2 29 36 * create an running instance of a party when a certain address on the server is requested 30 37 * 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) … … 33 40 * can send JSON-formatted Action objects as requested by the agent (see the events module in genius2 core) 34 41 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. 42 In 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 44 However different services could be implemented based on different languages, as long as the procedure above is met. 36 45 37 46 == Using the source code ==