Changes between Version 365 and Version 366 of WikiStart
- Timestamp:
- 10/13/20 09:24:10 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v365 v366 672 672 A 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. 673 673 674 The basic structure of a n partylooks like this675 {{{ 676 public class RandomParty extends DefaultParty {674 The basic structure of a party that supports the SAOP behaviour looks like this 675 {{{ 676 public class SaopParty extends DefaultParty { 677 677 @Override 678 678 public void notifyChange(Inform info) { … … 737 737 }}} 738 738 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. 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. Check [#ExampleParties] for which parties support which behaviours. 740 740 741 741 Notice, above is simplified code supporting, for fully working code check the [source:/exampleparties/randomparty/src/main/java/geniusweb/exampleparties/randomparty/RandomParty.java source code].