Changes between Version 365 and Version 366 of WikiStart


Ignore:
Timestamp:
10/13/20 09:24:10 (4 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v365 v366  
    672672A party is compiled with maven. After compilation ({{{mvn package}}}) you get a {{{target/yourparty-X.Y.Z-jar-with-dependencies.jar}}} that can be copied into the parties server for deployment.
    673673
    674 The basic structure of an party looks like this
    675 {{{
    676 public class RandomParty extends DefaultParty {
     674The basic structure of a party that supports the SAOP behaviour looks like this
     675{{{
     676public class SaopParty extends DefaultParty {
    677677        @Override
    678678        public void notifyChange(Inform info) {
     
    737737}}}
    738738
    739 The party must follow the behaviours that it promises. The example above folows the SAOP behaviour but other examples like comparebids and simpleshaop are available as example.
     739The party must follow the behaviours that it promises. The example above folows the SAOP behaviour but other examples like comparebids and simpleshaop are available as example. Check [#ExampleParties] for which parties support which behaviours. 
    740740
    741741Notice, above is simplified code supporting, for fully working code check the [source:/exampleparties/randomparty/src/main/java/geniusweb/exampleparties/randomparty/RandomParty.java source code].